Rotates a vector in place by axis angle.
This is the same as transforming a point by an axis-angle quaternion, but it has higher precision.
name | type | description |
---|---|---|
vec | Phaser.Math.Vector3 |
The vector to be rotated. |
axis | Phaser.Math.Vector3 |
The axis to rotate around. |
radians | number |
The angle of rotation in radians. |
The given vector.