Skip to main content

compose_palette_into

Function compose_palette_into 

pub fn compose_palette_into(
    joints: &[Joint],
    local: &[Motor],
    root: Motor,
    globals: &mut [Motor],
    palette: &mut [Motor],
) -> Result<usize, SkeletalError>
Expand description

Iterative parent-before-child composition and inverse bind application. globals doubles as reusable attachment transforms for tools and clothing.