Contents

SushiEngine

affine_inverse

Matrix4 affine_inverse(const Matrix4 &matrix) noexcept

Parameters

NameType
matrixconst Matrix4 &

Returns

Matrix4

Description

Returns the inverse of an affine matrix, or the identity when it is singular.

See also

engine/foundation/core/include/README.md