// Applies the given transformation to each vertex in indices. func (m *Mesh) TransformSubset(indices []int, t tr.Transformation) { t.ApplyToVec3(ConvertVertexSliceToVec3ISlice(m.Vertices.Get(indices...))...) }
// Applies the given transformation to every vertex. func (m *Mesh) Transform(t tr.Transformation) { t.ApplyToVec3(ConvertVertexSliceToVec3ISlice(m.Vertices.GetAll())...) }