]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/terrain/terrain.factor
Resolved merge.
[factor.git] / extra / terrain / terrain.factor
index 5847426faea30543b0000c041bbe3f0588afb225..42aa7e903a00b27c89761e27d54c32e415181237 100644 (file)
@@ -88,7 +88,7 @@ M: terrain-world tick-length
     yaw>> 0.0
     ${ MOVEMENT-SPEED 0.0 0.0 } eye-rotate ;
 : clamp-pitch ( pitch -- pitch' )
-    90.0 min -90.0 max ;
+    -90.0 90.0 clamp ;
 
 : walk-forward ( player -- )
     dup forward-vector [ v+ ] curry change-velocity drop ;