From 4740abed9fcd40359a9ced3a97ac1b9f56e379a0 Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Mon, 20 Jul 2020 13:35:48 -0400 Subject: Thesis work. --- animation.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'animation.hpp') diff --git a/animation.hpp b/animation.hpp index 1689a0c..5c9f669 100644 --- a/animation.hpp +++ b/animation.hpp @@ -72,7 +72,7 @@ public: glColor3d(1.0, 0.0, 0.0); glLineWidth(3); glBegin(GL_LINES); - Vector r = t->r.t / 2.0; + Vector r = t->r.t / 2; double θ = atan2(r(1), r(0)); Vector v1 = s₀⁻¹.act({r(0) + L * sin(θ), r(1) - L * cos(θ)}); Vector v2 = s₀⁻¹.act({r(0) - L * sin(θ), r(1) + L * cos(θ)}); -- cgit v1.2.3-54-g00ecf