Vector3.Cross Method (Vector3, Vector3, Vector3)
Calculates the cross product of two vectors.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public static void Cross (
ref Vector3 vector1,
ref Vector3 vector2,
out Vector3 result
)
Parameters
- vector1
Source vector. - vector2
Source vector. - result
[OutAttribute] The cross product of the vectors.
See Also
Reference
Vector3 Structure
Vector3 Members
Microsoft.Xna.Framework Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista