Pose

:= []

A position and a rotation, such as a Group's in the Scene. The host composes Poses with the same rule as compose.

identity : Pose

At the origin, with no rotation.

compose : Pose, Pose -> Pose

The world Pose of local, a Pose given in the space of parent. The result turns by local.rot first, then by parent.rot.

relative : Pose, Pose -> Pose

The Pose in the space of parent that compose(parent, _) sends to world. Use it to keep a Node in place when it changes parent. parent.rot must be unit length.

Pose : { pos : Vec3, rot : Quat }

A position and a rotation. Without a parent they are in world space.