Template Function std::get(const TRAP::Math::Vec<2, T>&)#
Function Documentation#
-
template<usize I, typename T>
constexpr const T &std::get(const TRAP::Math::Vec<2, T> &v) noexcept# Extracts the Ith element from the vector. I must be an integer value in range [0, 2). This is enforced at compile time!
- Parameters:
v – Vector whose contents to extract.
- Returns:
A reference to the Ith element of v.