Rotations as unit quaternions {x, y, z, w}, in the renderer's frame: right-handed,
+Y up, the camera looking down -Z.
CauldronGPU.Quat.yaw_pitch(:math.pi() / 2, -0.2)
Summary
Functions
A rotation of angle radians about axis (any length but zero).
No rotation.
The rotation a applied after b.
vector turned by rotation.
Turn yaw radians about +Y, then tilt pitch radians about the turned +X.
Types
Functions
A rotation of angle radians about axis (any length but zero).
@spec identity() :: t()
No rotation.
The rotation a applied after b.
vector turned by rotation.
Turn yaw radians about +Y, then tilt pitch radians about the turned +X.