summaryrefslogtreecommitdiff
path: root/animation.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'animation.hpp')
-rw-r--r--animation.hpp2
1 files changed, 1 insertions, 1 deletions
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<T, D> r = t->r.t / 2.0;
+ Vector<T, D> r = t->r.t / 2;
double θ = atan2(r(1), r(0));
Vector<T, D> v1 = s₀⁻¹.act({r(0) + L * sin(θ), r(1) - L * cos(θ)});
Vector<T, D> v2 = s₀⁻¹.act({r(0) - L * sin(θ), r(1) + L * cos(θ)});