Handbook
Glossary
relative-position ( self other -- v )
Vocabulary
boids
.
simulation
Inputs
self
an
object
other
an
object
Outputs
v
an
object
Definition
USING:
accessors
kernel
math.vectors
;
IN:
boids.simulation
:
relative-position
( self other -- v )
swap
[
pos>>
]
bi@
v-
;
inline