Handbook
Glossary
cpBodyLocal2World ( 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:
cpBodyLocal2World
( body: cpBody v: cpVect -- v2: cpVect )
[
drop
p>>
]
[
swap
rot>>
cpvrotate
]
2bi
cpvadd
;
inline