
20 Mar
2006
20 Mar
'06
10:15 a.m.
apparently boost already has quaternions: http://www.boost.org/libs/math/quaternion/quaternion.html but they are completely useless when speaking about geometry and 3D operations. I don't know whether we should supply our own quaterion class inside boost::geometry (I'm talking about Andy's geometryAL_01.zip from vault), or extend existing boost::math::quaternion so that it can be mutiplied by boost::geometry::three_d::vect to acheive rotation. extending existing quaternion class seems a better solution. Any ideas how to start with that? I have that function operator*(quaternion&, vector&) right here, just where to put it? -- Janek Kozicki |