CP

Well, can you tell me the crossproduct equation???

inline VECTOR CROSSPRODUCT( const VECTOR &v1, const VECTOR &v2 )
{
return VECTOR( (v1.y * v2.z) - (v2.y * v1.z),
(v1.z * v2.x) - (v2.z * v1.x),
(v1.x * v2.y) - (v2.x * v1.y) );
}