Template Function std::get(TRAP::Math::Vec<3, T>&&)#

Function Documentation#

template<usize I, typename T>
constexpr T &&std::get(TRAP::Math::Vec<3, T> &&v) noexcept#

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

Parameters:

v – Vector whose contents to extract.

Returns:

A reference to the Ith element of v.