boids: Use flatland
parent
d9f8ecbbe5
commit
1ea8d6c770
|
@ -6,18 +6,17 @@ USING: kernel namespaces
|
||||||
math.order
|
math.order
|
||||||
math.vectors
|
math.vectors
|
||||||
math.trig
|
math.trig
|
||||||
math.physics.pos
|
|
||||||
math.physics.vel
|
|
||||||
combinators arrays sequences random vars
|
combinators arrays sequences random vars
|
||||||
combinators.lib
|
combinators.lib
|
||||||
combinators.short-circuit
|
combinators.short-circuit
|
||||||
accessors ;
|
accessors
|
||||||
|
flatland ;
|
||||||
|
|
||||||
IN: boids
|
IN: boids
|
||||||
|
|
||||||
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
|
|
||||||
TUPLE: boid < vel ;
|
TUPLE: boid < <vel> ;
|
||||||
|
|
||||||
C: <boid> boid
|
C: <boid> boid
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue