summaryrefslogtreecommitdiff
path: root/animation.hpp
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2020-07-20 13:35:48 -0400
committerJaron Kent-Dobias <jaron@kent-dobias.com>2020-07-20 13:35:48 -0400
commit4740abed9fcd40359a9ced3a97ac1b9f56e379a0 (patch)
tree5a49c24fa4421b77c6d8e7def524379233013cc5 /animation.hpp
parent468c25eabd1aaac7d02988fef97b66bb378988b3 (diff)
downloadspace_wolff-master.tar.gz
space_wolff-master.tar.bz2
space_wolff-master.zip
Thesis work.HEADmaster
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(θ)});