pub fn transform(mesh: &mut MeshData, matrix: Mat4) -> Result<()>Expand description
Apply an affine matrix to all vertex positions and normals.
The mesh is left unchanged when matrix is non-finite, singular, or
produces non-finite vertex positions. On success, bounds_dirty is set.
Donor: oa::FnMesh::transform.
ยงErrors
Returns an error when matrix is non-finite, singular (no normal matrix),
or produces non-finite vertex positions.