template<class F>
Vec3T<F> operator^ const Vec3T< F > &  a,
const Vec3T< F > &  b
[inline]
 

Overloaded cross product operator. Returns a x b = vector (a[1]*b[2]-a[2]*b[1], a[2]*b[0]-a[0]*b[2], a[0]*b[1]-a[1]*b[0])

Definition at line 161 of file vec3t.hpp.

00161                                                                                     {
00162   return Vec3T<F>(a(1)*b(2)-a(2)*b(1), a(2)*b(0)-a(0)*b(2), a(0)*b(1)-a(1)*b(0)); 
00163 }


Generated on Sun Dec 4 18:13:13 2005 for common by  doxygen 1.4.5