Vec4:sub
EditSubtracts a vector or a number from the vector.
Arguments
Name | Type | Description |
u | Vec4 | The other vector. |
Returns
Name | Type | Description |
self | Vec4 | The modified vector. |
Arguments
Name | Type | Default | Description |
x | number | A value to subtract from x component. | |
y | number | x | A value to subtract from y component. |
z | number | x | A value to subtract from z component. |
w | number | x | A value to subtract from w component. |
Returns
Name | Type | Description |
self | Vec4 | The modified vector. |