Skip to main content

scale

Function scale 

Source
pub fn scale(mesh: &mut MeshData, s: Vec3) -> Result<()>
Expand description

Scale all vertex positions and normals.

Zero or non-finite scale components fail without modifying the mesh.

Donor: oa::FnMesh::scale.

ยงErrors

Returns an error when any scale component is zero or non-finite.