Vector3::cross

From RAGE Multiplayer Wiki
Revision as of 06:48, 31 May 2019 by Micaww (talk | contribs) (Created page with "This function is used to calculate the cross product of two vectors. The cross product is a vector that is perpendicular to both input vectors. ==Syntax== <pre> vector.add(Ve...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This function is used to calculate the cross product of two vectors. The cross product is a vector that is perpendicular to both input vectors.

Syntax

vector.add(Vector3 otherVec);

Required Arguments

  • otherVec: Vector3: The other vector.

Returns

  • Vector3 The cross product.

See Also