gamnit: 3 Euler rotation angles for actors
[nit.git] / contrib / model_viewer / src / model_viewer.nit
index 9353ef5..347b565 100644 (file)
@@ -146,7 +146,7 @@ redef class App
                var t = clock.total.to_f
 
                # Rotate the model
-               actors.first.rotation = t
+               actors.first.yaw = t
 
                # Move the light source
                var dist_to_light = 20.0