transform
Applies a transformation matrix to the mesh.
This matrix can include translation, rotation, and scaling transformations. The transformation is applied to both the vertices and normals of the mesh. Note that normals are transformed without translation to maintain their direction.
Parameters
matrix
The transformation matrix to apply.