Vec3:div
Divides the vector by a vector or a number.
v = Vec3:div(u)
Arguments
Name | Type | Description |
u | Vec3 | The other vector to divide the components by. |
Returns
Name | Type | Description |
v | Vec3 | The original vector. |
v = Vec3:div(x)
Arguments
Name | Type | Description |
x | number | The number to divide each component by. |
Returns
Name | Type | Description |
v | Vec3 | The original vector. |
See also
Vec3:add
Vec3:sub
Vec3:mul
Vec3