|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Normalized unit vector. More...
#include <GREM/physics/quantities.hpp>

Public Member Functions | |
| GREM_ALWAYS_INLINE constexpr | Direction () noexcept |
| GREM_ALWAYS_INLINE constexpr bool | operator== (const Direction &other) const noexcept |
| template<typename OtherUnitT> requires (UNIT == OtherUnitT{}) | |
| GREM_ALWAYS_INLINE constexpr bool | operator== (const Quantity< 2, OtherUnitT > &other) const noexcept |
| GREM_ALWAYS_INLINE constexpr bool | operator== (Zero other) const noexcept |
| GREM_ALWAYS_INLINE constexpr Direction GREM_VECTORCALL | operator- () const |
Static Public Member Functions | |
| static GREM_ALWAYS_INLINE constexpr Direction | reinterpret (auto other) |
Normalized unit vector.
Unitless.
| N | number of dimensions of the world space (must be 2 or 3). |
|
inlineconstexprnoexcept |
|
inlinestaticnodiscardconstexpr |
|
inlinenodiscardconstexprnoexcept |
|
inlinenodiscardconstexprnoexcept |
|
inlinenodiscardconstexprnoexcept |
|
inlinenodiscardconstexpr |