Vec4:div
EditDivides the vector by a vector or a number.
Arguments
Name | Type | Description |
u | Vec4 | The other vector to divide the components by. |
Returns
Name | Type | Description |
self | Vec4 | 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. |
w | number | x | A value to divide w component by. |
Returns
Name | Type | Description |
self | Vec4 | The modified vector. |