]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/terrain/terrain.factor
math.vectors: rename "v." to "vdot"
[factor.git] / extra / terrain / terrain.factor
index ba288298ab74426869218e5d6e010de26b4af094..1b2f8c984b763b17e9c106065dd7bd4e3799df99 100644 (file)
@@ -169,7 +169,7 @@ terrain-world H{
     segment bitmap>> 4 <groups> :> pixels
     pixel dim pixel-indices :> indices
 
-    indices [ pixels nth COMPONENT-SCALE v. 255.0 / ] map
+    indices [ pixels nth COMPONENT-SCALE vdot 255.0 / ] map
     first4 pixel-mantissa bilerp ;
 
 : (collide) ( segment location -- location' )