vec-mat.hpp File Reference

Go to the source code of this file.

Functions

vec operator * (const vec &v, const mat &m)


Function Documentation

vec operator * (  const vec &  v,
const mat &  m
)  [inline]
 

vec * mat

Definition at line 3 of file vec-mat.hpp.

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