Skip to main content

morph_deltas

Function morph_deltas 

Source
pub fn morph_deltas(positions: &[[f32; 3]]) -> MorphDeltas
Expand description

The displacement of the two morph targets the deformed scenes use, packed the way a mesh stores it: per vertex, one target after the other, three components each.

The first target tapers the cube’s top to a point, the second widens its base.