vec-mat.hpp

Go to the documentation of this file.
00001 //=============================================================================
00002 /*! vec * mat */
00003 inline vec operator*(const vec& v, const mat& m)
00004 {
00005   return vec( v.x*m.xx +v.y*m.yx +v.x*m.zx,
00006               v.x*m.xy +v.y*m.yy +v.x*m.zy,
00007               v.x*m.xz +v.y*m.yz +v.x*m.zz );
00008 }

Generated on Tue Mar 15 16:02:38 2005 for QVM by  doxygen 1.4.1