Handbook
Glossary
cpvsub ( v1: cpVect v2: cpVect -- v3: cpVect )
Vocabulary
chipmunk
.
ffi
Inputs
v1
a
cpVect
v2
a
cpVect
Outputs
v3
a
cpVect
Definition
USING:
accessors
kernel
math
typed
;
IN:
chipmunk.ffi
TYPED:
cpvsub
( v1: cpVect v2: cpVect -- v3: cpVect )
[
[
x>>
]
bi@
-
]
[
[
y>>
]
bi@
-
]
2bi
cpv
;
inline