Skip to main content

rest_pose

Function rest_pose 

Source
pub fn rest_pose(joint_count: usize) -> Vec<JointMatrix>
Expand description

A rig of joint_count joints, all at rest, returned as joint matrices.

The identity pose deforms nothing: a vertex’s weights sum to one, so the weighted sum of identity matrices is the vertex itself.