Skip to content

LiteFX::Math::Matrix::operator DirectX::XMFLOAT4X4

Converts the matrix into a 4x4 DirectX matrix.

Synopsis

Declared in <litefx/matrix.hpp>

constexpr operator DirectX::XMFLOAT4X4() const noexcept
requires (mat_rows >= 4 && mat_cols >= 4 && std::convertible_to<scalar_type, float>);

Return Value

The DirectX matrix instance.