Quaternion is a type and a namespace.
// Namespace usage exampleconst next = Quaternion.add(pointA, velocityA)// Type usage exampleconst readonlyRotation: Quaternion = Quaternion.Zero()readonlyRotation.x = 0.1 // this FAILS// For mutable usage, use `Quaternion.Mutable`const rotation: Quaternion.Mutable = Quaternion.Identity()rotation.x = 3.0 // this WORKS
Quaternion is a type and a namespace.