math3d.h
inline void m3dCrossProduct3(M3DVector3f result, const M3DVector3f u, const M3DVector3f v)
	{
	result[0] = u[1]*v[2] - v[1]*u[2];
	result[1] = -u[0]*v[2] + v[0]*u[2];
	result[2] = u[0]*v[1] - v[0]*u[1];
	}
//////////////////////////////////////////////////////////////////////////////////////
// Cross Product
// u x v = result
// 3 component vectors only.

Cross Product
u x v = result
3 component vectors only.
Cross Product u x v = result 3 component vectors only .
inline void m3dCrossProduct3(M3DVector3f result, const M3DVector3f u, const M3DVector3f v)
	{
	result[0] = u[1]*v[2] - v[1]*u[2];
	result[1] = -u[0]*v[2] + v[0]*u[2];
	result[2] = u[0]*v[1] - v[0]*u[1];
	}
inline void m3dCrossProduct3 ( M3DVector3f result , const M3DVector3f u , const M3DVector3f v ) { result [ 0 ] = u [ 1 ] * v [ 2 ] - v [ 1 ] * u [ 2 ] ; result [ 1 ] = - u [ 0 ] * v [ 2 ] + v [ 0 ] * u [ 2 ] ; result [ 2 ] = u [ 0 ] * v [ 1 ] - v [ 0 ] * u [ 1 ] ; }
Cross Product
u x v = result
3 component vectors only.
Cross Product u x v = result 3 component vectors only .