From de356a1679e86c8ca0ee92c83f5197c8516c519f Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 27 Aug 2019 22:02:16 +0200 Subject: [PATCH] fixed spin_towards in nonisotropic-non-geodesic --- hyperpoint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hyperpoint.cpp b/hyperpoint.cpp index 6dac36e2..f13b1a0b 100644 --- a/hyperpoint.cpp +++ b/hyperpoint.cpp @@ -1003,7 +1003,7 @@ EX void rotate_object(transmatrix& Position, transmatrix& orientation, transmatr EX transmatrix spin_towards(const transmatrix Position, transmatrix& ori, const hyperpoint goal, int dir, int back) { transmatrix T; ld alpha = 0; - if(nonisotropic) + if(nonisotropic && nisot::geodesic_movement) T = nisot::spin_towards(Position, goal); else { hyperpoint U = inverse(Position) * goal;