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