Skip to main content

skin_vertices_into

Function skin_vertices_into 

pub fn skin_vertices_into(
    positions: &[[f32; 3]],
    normals: &[[f32; 3]],
    skin: &[SkinWeight],
    palette: &[Motor],
    out_positions: &mut [[f32; 3]],
    out_normals: &mut [[f32; 3]],
) -> Result<usize, SkeletalError>
Expand description

Four-influence linear blend skinning of immutable bind geometry. Positions and normals share the same palette. UVs, tangents and material topology are unchanged; tangent reconstruction remains the renderer’s job. No partial writes on malformed influences or inadequate output buffers.