![]() |
MAGE
v0.171.0
Matthias Advanced Game Engine
|
#include <geometry.hpp>
Public Member Functions | |
constexpr | Direction3 () noexcept=default |
constexpr | Direction3 (F32 x, F32 y, F32 z) noexcept |
constexpr | Direction3 (const Direction3 &direction) noexcept=default |
constexpr | Direction3 (Direction3 &&direction) noexcept=default |
constexpr | Direction3 (F32x3 v) noexcept |
~Direction3 ()=default | |
Direction3 & | operator= (const Direction3 &direction) noexcept=default |
Direction3 & | operator= (Direction3 &&direction) noexcept=default |
constexpr F32 | GetX () const noexcept |
constexpr void | SetX (F32 x) noexcept |
constexpr F32 | GetY () const noexcept |
constexpr void | SetY (F32 y) noexcept |
constexpr F32 | GetZ () const noexcept |
constexpr void | SetZ (F32 z) noexcept |
![]() | |
constexpr | Array () noexcept |
constexpr | Array (const F32 &value) noexcept |
constexpr | Array (ArgsT &&... args) noexcept |
constexpr | Array (const Array< F32, FromN, alignof(F32) > &a) noexcept |
constexpr | Array (const Array< F32, FromN, FromA > &a) noexcept |
constexpr | Array (const Array< F32, FromN, alignof(F32) > &a, ArgsT &&... args) noexcept |
constexpr | Array (const Array< F32, FromN, FromA > &a, ArgsT &&... args) noexcept |
constexpr | Array (const Array &a) noexcept=default |
constexpr | Array (Array &&a) noexcept=default |
constexpr | Array (const Array< FromT, N, FromA > &a) noexcept |
~Array ()=default | |
Array & | operator= (const Array &a) noexcept=default |
Array & | operator= (Array &&a) noexcept=default |
Additional Inherited Members | |
![]() | |
static constexpr std::size_t | s_size |
A struct of directions in 3D space.
|
defaultnoexcept |
Constructs a direction.
Constructs a direction from the given coordinates.
[in] | x | The x-coordinate. |
[in] | y | The y-coordinate. |
[in] | z | The z-coordinate. |
|
defaultnoexcept |
Constructs a direction from the given direction.
[in] | direction | A reference to the direction to copy. |
|
defaultnoexcept |
Constructs a direction by moving the given direction.
[in] | direction | A reference to the direction to move. |
|
explicitnoexcept |
Constructs a direction from the given vector.
[in] | v | The vector. |
|
default |
Constructs a direction.
|
noexcept |
Returns the X component of this direction.
|
noexcept |
Returns the Y component of this direction.
|
noexcept |
Returns the Z component of this direction.
|
defaultnoexcept |
Copies the given direction to this direction.
[in] | direction | A reference to the direction to copy. |
|
defaultnoexcept |
Moves the given direction to this direction.
[in] | direction | A reference to the direction to move. |
|
noexcept |
Sets the X component of this direction to the given value.
[in] | x | The X component. |
|
noexcept |
Sets the Y component of this direction to the given value.
[in] | y | The Y component. |
|
noexcept |
Sets the Z component of this direction to the given value.
[in] | z | The Z component. |