Skip to content

LiteFX::Math::Matrix::operator glm::mat<cols, rows, scalar_type>

Converts the matrix into a glm matrix.

Synopsis

Declared in <litefx/matrix.hpp>

template<
    unsigned int rows,
    unsigned int cols>
constexpr operator glm::mat<cols, rows, scalar_type>() const noexcept
requires (mat_rows >= rows && mat_cols >= cols);

Return Value

The glm matrix instance.