]> gitweb.factorcode.org Git - factor.git/commitdiff
boids: Use flatland
authorEduardo Cavazos <dharmatech@finkelstein.stackeffects.info>
Sat, 29 Nov 2008 18:11:49 +0000 (12:11 -0600)
committerEduardo Cavazos <dharmatech@finkelstein.stackeffects.info>
Sat, 29 Nov 2008 18:11:49 +0000 (12:11 -0600)
extra/boids/boids.factor

index eeebe1c12de9184d3bbe20224ffe4fc415632cbc..1d5074693aff2fa1f14ca9e54ab505d73b11a760 100644 (file)
@@ -6,18 +6,17 @@ USING: kernel namespaces
        math.order
        math.vectors
        math.trig
-       math.physics.pos
-       math.physics.vel
        combinators arrays sequences random vars
        combinators.lib
        combinators.short-circuit
-       accessors ;
+       accessors
+       flatland ;
 
 IN: boids
 
 ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
-TUPLE: boid < vel ;
+TUPLE: boid < <vel> ;
 
 C: <boid> boid