]> gitweb.factorcode.org Git - factor.git/commitdiff
maze: update for iota
authorSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Thu, 14 Jan 2010 17:21:56 +0000 (06:21 +1300)
committerSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Thu, 14 Jan 2010 18:15:34 +0000 (07:15 +1300)
extra/maze/maze.factor

index c0623d96b6a64eb6da66f3797ed8ede3c8c94780..4238dab16888c53e09277076ea8b869ff822ee49 100644 (file)
@@ -44,7 +44,7 @@ SYMBOL: visited
     line-width 2 - glLineWidth
     line-width 2 - glPointSize
     1.0 1.0 1.0 1.0 glColor4d
-    dup [ drop t <array> ] with map visited set
+    dup iota [ drop t <array> ] with map visited set
     GL_LINE_STRIP glBegin
     { 0 0 } dup vertex (draw-maze)
     glEnd ;