Template Function std::get(const TRAP::Math::Mat<4, 4, T>&&)#

Function Documentation#

template<usize I, typename T>
constexpr const TRAP::Math::Mat<4, 4, T>::col_type &&std::get(const TRAP::Math::Mat<4, 4, T> &&m) noexcept#

Extracts the Ith element from the matrix. I must be an integer value in range [0, 4). This is enforced at compile time!

Parameters:

m – Matrix whose contents to extract.

Returns:

A reference to the Ith element of v.