|
Aeon Engine c550894
AeonGames Open Source Game Engine
|
4D vector class. More...
#include <aeongames/Vector4.hpp>

Public Member Functions | |
| DLL | Vector4 () |
| Default constructor. | |
| DLL | Vector4 (const float *const aVector) |
| Constructor. | |
| DLL | Vector4 (float aX, float aY, float aZ, float aW) |
| Constructor. | |
| DLL | ~Vector4 () |
| destructor. | |
| DLL const float *const | GetVector4 () const |
| Get a pointer to the internal vector data. | |
| DLL const float & | GetX () const |
| Get the X component. | |
| DLL const float & | GetY () const |
| Get the Y component. | |
| DLL const float & | GetZ () const |
| Get the Z component. | |
| DLL const float & | GetW () const |
| Get the W component. | |
Protected Attributes | |
| float | mVector [4] |
| X, Y, Z and W components. | |
4D vector class.
Definition at line 30 of file Vector4.hpp.
| AeonGames::Vector4::Vector4 | ( | ) |
Default constructor.
Definition at line 22 of file Vector4.cpp.
| AeonGames::Vector4::Vector4 | ( | const float *const | aVector | ) |
Constructor.
| aVector | a float pointer or array containing vector data. |
Definition at line 27 of file Vector4.cpp.
| AeonGames::Vector4::Vector4 | ( | float | aX, |
| float | aY, | ||
| float | aZ, | ||
| float | aW ) |
Constructor.
| aX | X component. |
| aY | Y component. |
| aZ | Z component. |
| aW | W component. |
Definition at line 32 of file Vector4.cpp.
| const float *const AeonGames::Vector4::GetVector4 | ( | ) | const |
Get a pointer to the internal vector data.
Definition at line 43 of file Vector4.cpp.
| const float & AeonGames::Vector4::GetW | ( | ) | const |
Get the W component.
Definition at line 63 of file Vector4.cpp.
| const float & AeonGames::Vector4::GetX | ( | ) | const |
Get the X component.
Definition at line 48 of file Vector4.cpp.
| const float & AeonGames::Vector4::GetY | ( | ) | const |
Get the Y component.
Definition at line 53 of file Vector4.cpp.
| const float & AeonGames::Vector4::GetZ | ( | ) | const |
Get the Z component.
Definition at line 58 of file Vector4.cpp.
|
protected |
X, Y, Z and W components.
Definition at line 70 of file Vector4.hpp.