Shared
ToVector4
Function to convert an array with four elements in it,
[1] = number, [2] = number, [3] = number and [4] = number
into vector4
Parameters description
coords - the data to convert into vector4
ToVector3
Function to convert an array with three or more elements, in which
[1] = number, [2] = number and [3] = number
or vector4 into vector3
Parameters description
coords
- the data to convert into vector3
ToVector2
Function to convert an array with three or more elements, in which
[1] = number, [2] = number
, vector4 or vector3 into vector2
Parameters description
coords
- the data to convert into vector2
Last updated