From c33887a3137a953fbc8d011b3da0f5fc9c26fefd Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 19 Apr 2020 22:00:29 +0200 Subject: [PATCH] smoother in 3D Gravity --- hypgraph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hypgraph.cpp b/hypgraph.cpp index 1ded2e4e..a5dadbe3 100644 --- a/hypgraph.cpp +++ b/hypgraph.cpp @@ -1299,7 +1299,7 @@ EX void spinEdge(ld aspd) { if(ds.qty && GDIM == 2) { downspin += models::rotation * degree; } - if(GDIM == 2) { + if(ds.qty) { cyclefix(downspin, 0); downspin = downspin * min(ds.speed, (double)1); }