![]() |
MAGE
v0.171.0
Matthias Advanced Game Engine
|
#include <geometry.hpp>
Public Member Functions | |
constexpr | Point3 () noexcept=default |
constexpr | Point3 (F32 x, F32 y, F32 z) noexcept |
constexpr | Point3 (const Point3 &point) noexcept=default |
constexpr | Point3 (Point3 &&point) noexcept=default |
constexpr | Point3 (F32x3 v) noexcept |
~Point3 ()=default | |
Point3 & | operator= (const Point3 &point) noexcept=default |
Point3 & | operator= (Point3 &&point) 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 points in 3D space.
|
defaultnoexcept |
Constructs a point.
Constructs a point from the given coordinates.
[in] | x | The x-coordinate. |
[in] | y | The y-coordinate. |
[in] | z | The z-coordinate. |
|
defaultnoexcept |
Constructs a point from the given point.
[in] | point | A reference to the point to copy. |
|
defaultnoexcept |
Constructs a point by moving the given point.
[in] | point | A reference to the point to move. |
|
explicitnoexcept |
Constructs a point from the given vector.
[in] | v | The vector. |
|
default |
Constructs a point.
|
noexcept |
Returns the X component of this point.
|
noexcept |
Returns the Y component of this point.
|
noexcept |
Returns the Z component of this point.
Copies the given point to this point.
[in] | point | A reference to the point to copy. |
Moves the given point to this point.
[in] | point | A reference to the point to move. |
|
noexcept |
Sets the X component of this point to the given value.
[in] | x | The X component. |
|
noexcept |
Sets the Y component of this point to the given value.
[in] | y | The Y component. |
|
noexcept |
Sets the Z component of this point to the given value.
[in] | z | The Z component. |