]> gitweb.factorcode.org Git - factor.git/commitdiff
raylib: position is point now
authorDoug Coleman <doug.coleman@gmail.com>
Thu, 30 Dec 2021 02:55:08 +0000 (20:55 -0600)
committerDoug Coleman <doug.coleman@gmail.com>
Thu, 30 Dec 2021 02:55:08 +0000 (20:55 -0600)
extra/raylib/demo/mesh-picking/mesh-picking.factor

index 13b53ab9758375c1b7eb4858879fed05d2262055..7be1459b9277445ae9f5ef06b25200bdfb543915 100644 (file)
@@ -149,7 +149,7 @@ SYMBOL: mesh-picking-frame
             ray handle-ground-hit
 
             ray triangle first3 handle-triangle-hit
-            [ dup nearest-hit>> position>> triangle first3 vector3-barycenter bary! ] [ f bary! ] if
+            [ dup nearest-hit>> point>> triangle first3 vector3-barycenter bary! ] [ f bary! ] if
 
             ray tower [ model>> ] [ bbox>> ] bi handle-mesh-hit hit-mesh-bbox!