Handbook
Glossary
cpvmult ( v1: cpVect s -- v2: cpVect )
Vocabulary
chipmunk
.
ffi
Inputs
v1
a
cpVect
s
an
object
Outputs
v2
a
cpVect
Definition
USING:
accessors
kernel
math
typed
;
IN:
chipmunk.ffi
TYPED:
cpvmult
( v1: cpVect s -- v2: cpVect )
[
swap
x>>
*
]
[
swap
y>>
*
]
2bi
cpv
;
inline