Handbook
Glossary
cpvproject ( v1: cpVect v2: cpVect -- v3: cpVect )
Vocabulary
chipmunk
.
ffi
Inputs
v1
a
cpVect
v2
a
cpVect
Outputs
v3
a
cpVect
Definition
USING:
kernel
math
typed
;
IN:
chipmunk.ffi
TYPED:
cpvproject
( v1: cpVect v2: cpVect -- v3: cpVect )
[
nip
]
[
cpvdot
]
[
nip
dup
cpvdot
]
2tri
/
cpvmult
;
inline