Skip to main content

derive_uv_bounds

Function derive_uv_bounds 

Source
fn derive_uv_bounds(uvs: &[[f32; 2]], out_meta: &mut MeshMetadata)
Expand description

Derive the UV decode parameters from uvs and write them into out_meta.uv_min_and_extents.

ยงPanics

If uvs is empty.