Handbook
Glossary
cpBodyWorld2Local ( body: cpBody v: cpVect -- v2: cpVect )
Vocabulary
chipmunk
.
ffi
Inputs
body
a
cpBody
v
a
cpVect
Outputs
v2
a
cpVect
Definition
USING:
accessors
kernel
typed
;
IN:
chipmunk.ffi
TYPED:
cpBodyWorld2Local
( body: cpBody v: cpVect -- v2: cpVect )
[
swap
p>>
cpvsub
]
[
drop
rot>>
]
2bi
cpvunrotate
;
inline