[This is preliminary documentation and is subject to change.]

Performs a "right-handed" vector cross product. (u x v)

Namespace: org.critterai
Assembly: cai-util (in cai-util.dll) Version: 0.5.0.0 (0.5.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static Vector3 Cross(
	Vector3 u,
	Vector3 v
)
Public Shared Function Cross ( _
	u As Vector3, _
	v As Vector3 _
) As Vector3
public:
static Vector3 Cross(
	Vector3 u, 
	Vector3 v
)

Parameters

u
Vector3
Vector u.
v
Vector3
Vector v.

Return Value

The cross product of the vectors.

Remarks

The resulting vector will be perpendicular to the plane containing the two vectors.

Special Case: The result will be zero if the two vectors are parallel.

See Also