Vincent Bourdier wrote on Wednesday, December 10, 2008 10:31 AM: > Hi, > > Just a problem of math & OSG : > > I have > * a vec3d point in relative coordinate > * a matrix to transform in world coordinate > > I need to make something equivalent to vec = mat * vec ... > But the 3d vector cannot be trnasformed by a matrix (4*4) ...
Matrixd provides Vec3d operator* ( const Vec3d& v ), so you should be just fine with vec = mat * vec. -- Bryan Thrall FlightSafety International [EMAIL PROTECTED] _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

