I work for a company that's extremely anal about warnings; any warning is an
error and warnings are turned up to "11" on the dial.
This is what I had to do to make this compile (diff between new<my code> and
existing 2.2.1 code:
--- old/quaternion.cpp 2012-04-19 19:27:30.414398801 -0700
+++ new/quaternion.cpp 2012-04-19 19:26:27.930454067 -0700
@@ -112,7 +112,7 @@
quat operator * ( const quat &a, const quat &b)
{
- return quat( a.s*b.s - a.v*b.v, a.s*b.v + b.s*a.v + a.v^b.v );
+ return quat( a.s*b.s - a.v*b.v, a.s*b.v + b.s*a.v + (a.v^b.v) );
}
quat operator * ( const quat &a, const float t)
Original issue reported on code.google.com by garybrad...@gmail.com on 20 Apr 2012 at 2:50
Original issue reported on code.google.com by
garybrad...@gmail.com
on 20 Apr 2012 at 2:50