Quaternion: Adjusted rotate() to the Hamilton convention (which we switched to)

Note: This error was not caught by a test because the test included only trivial cases which do not explore non-commuting quaternions.
This commit is contained in:
Matthias Grob 2017-10-16 19:18:56 +02:00
parent 6b1fea76d0
commit b241cf5c95

View File

@ -338,7 +338,7 @@ public:
{
Quaternion res;
res.from_axis_angle(vec);
(*this) = (*this) * res;
(*this) = res * (*this);
}
/**