vector.rotate
EditRotates the vector by a quaternion, returning a new rotated vector.
v = vector.rotate(v, q)Arguments
| Name | Type | Description |
| v | vector | The vector to rotate. |
| q | quaternion | The rotation. |
Returns
| Name | Type | Description |
| v | number | The rotated vector. |