Vec3:div
EditDivides the vector by a vector or a number.
Arguments
Name | Type | Description |
u | Vec3 | The other vector to divide the components by. |
Returns
Name | Type | Description |
self | Vec3 | The modified vector. |
Arguments
Name | Type | Default | Description |
x | number | A value to divide x component by. | |
y | number | x | A value to divide y component by. |
z | number | x | A value to divide z component by. |
Returns
Name | Type | Description |
self | Vec3 | The modified vector. |