Skip to content

rotateVec3ByQuat

rotateVec3ByQuat(q, v): Vec3

Defined in: physics3d/ColliderShape3D.ts:63

Turn a vector by a rotation — what places an anchor, an axis or a wireframe vertex in the world, and the one piece of 3D maths every visualizer needs.

Quat

Vec3

Vec3