oa::FnMesh::transform

Apply an affine matrix to all positions and normals. The mesh remains unchanged when the transform is singular, non-finite, or produces an invalid vertex.

Function Documentation

oa::Status oa::FnMesh::transform( oa::MeshData & inMesh, const oa::vlm::Mat4 & inMatrix )
Apply an affine matrix to all positions and normals. The mesh remains unchanged when the transform is singular, non-finite, or produces an invalid vertex.

Parameters

inMesh
oa::MeshData &

inMatrix
const oa::vlm::Mat4 &

Returns

oa::Status

The declared return value.