boids.ui: use color objects

db4
Eduardo Cavazos 2008-07-28 14:59:40 -05:00
parent 4e8ac9d7be
commit 86d2cd4066
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ IN: boids.ui
: draw-boids ( -- ) boids> [ draw-boid ] each ;
: boid-color ( -- color ) { 1.0 0 0 0.3 } ;
: boid-color ( -- color ) T{ rgba f 1.0 0 0 0.3 } ;
: display ( -- )
boid-color >fill-color