vec3.crossProduct: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
m (Mex moved page Vec3.crossProduct to vec3.crossProduct)
 
No edit summary
 
Line 1: Line 1:
{{ScriptItem
{{ScriptItem2
|endpoint = shared
|name = crossProduct
|side = shared
|type = method
|type = method
|class = Vec3
|class = Vec3
|name = crossProduct
|games = iii vc sa iv
|parameters = Vec3 vector2
|desc = fetch the cross product of the two 3D vectors
|parameter1 = Vec2 vector The second 2D vector.
|arg1 = Vec2 vector The second 2D vector.
|returnTypes = Vec3
|return = Vec3 a 3D vector representing the cross product of the two 3D vectors
|usage = fetch the cross product of the two 3D vectors
|freturn = Vec3 Vec3(0.0,0.0,0.0)
|returnInfo = a 3D vector representing the cross product of the two 3D vectors
|returnFail1 = Vec3 Vec3(0.0,0.0,0.0)
}}
}}

Latest revision as of 20:37, 19 November 2022

Method Server and Client icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline

Available since Server 1.0.0, Client 1.0.0

Vec3 vec3.crossProduct(Vec2 vector)

The vec3.crossProduct method is used to fetch the cross product of the two 3D vectors.

Parameters

1) Vec2 vector The second 2D vector.

Return

Vec3 A 3D vector representing the cross product of the two 3D vectors.

Types

Shared Vec3

Notes

There aren't any notes for this method.

Examples

There aren't any examples for this method.

Compatibility

There isn't any compatibility information for this method.