Vec3:sub
EditSubtracts a vector or a number from the vector.
Arguments
Name | Type | Description |
u | Vec3 | The other vector. |
Returns
Name | Type | Description |
self | Vec3 | 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. |
Returns
Name | Type | Description |
self | Vec3 | The modified vector. |