Pose

:= []

Builds the Pose of a Draw and wraps the time of a Clip that repeats.

still : U32, F32 -> Pose

The Pose that plays clip at time, with no fade. Pose.still(0, 0.0) draws the bind pose.

loop : F32, F32 -> F32

Wraps time into the range from 0 up to duration, so a Clip repeats. A time below 0 wraps from the end. A duration of 0 or less gives 0. Keep the raw time in your Model and wrap it in view, or wrap it each step so it stays small.