Quat.Rotate
Vec3 Rotate(Vec3 pt)
This rotates a point around the origin by the Quat.
Vec3 pt | The point that gets rotated around the origin. |
RETURNS: Vec3 | A rotated point. |
static Vec3 Rotate(Quat q, Vec3 pt)
This rotates a point around the origin by the Quat.
Quat q | The rotation Quat. |
Vec3 pt | The point that gets rotated around the origin. |
RETURNS: Vec3 | A rotated point. |
Found an issue with these docs, or have some additional questions? Create an Issue on Github!