|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
#include <GREM/core/math.hpp>
Public Types | |
| using | Component = T |
Public Member Functions | |
| GREM_ALWAYS_INLINE constexpr | qua () noexcept=default |
| template<typename U> | |
| GREM_ALWAYS_INLINE constexpr | qua (qua< U > q) noexcept |
| GREM_ALWAYS_INLINE constexpr | qua (T x, T y, T z, T w) noexcept |
| GREM_ALWAYS_INLINE constexpr | qua (vec< 3, T > xyz, T w) noexcept |
| GREM_ALWAYS_INLINE constexpr bool | operator== (const qua &) const noexcept=default |
| GREM_ALWAYS_INLINE constexpr Component & | operator[] (size_t i) |
| GREM_ALWAYS_INLINE constexpr const Component & | operator[] (size_t i) const |
| GREM_ALWAYS_INLINE constexpr size_t | size () const noexcept |
Public Attributes | |
| T | x {} |
| T | y {} |
| T | z {} |
| T | w {} |
Static Public Attributes | |
| static constexpr size_t | RANK = 4 |
| using grem::qua< T >::Component = T |
|
constexprdefaultnoexcept |
|
inlineexplicitconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
nodiscardconstexprdefaultnoexcept |
|
inlinenodiscardconstexpr |
|
inlinenodiscardconstexpr |
|
inlinenodiscardconstexprnoexcept |
|
staticconstexpr |
| T grem::qua< T >::x {} |
| T grem::qua< T >::y {} |
| T grem::qua< T >::z {} |
| T grem::qua< T >::w {} |