#include <Vector3i.h>
Public Member Functions | |
Vector3i () | |
Standard constructer which initializes the vector to {0; 0; 0}. | |
Vector3i (int p_x, int p_y, int p_z) | |
Constructor which initializes the vector with the given values. | |
virtual | ~Vector3i () |
Standard destructor. | |
Vector3i | operator- (Vector3i subtrahend) |
Subtracts the given vector. | |
Vector3i | operator+ (Vector3i summand) |
Adds the given vector. | |
Vector3i | operator+= (Vector3i summand) |
Adds the given vector. | |
Vector3i | operator-= (Vector3i subtrahend) |
Subtracts the given vector. | |
Public Attributes | |
int | x |
Holds the x-value of the vector. | |
int | y |
Holds the y-value of the vector. | |
int | z |
Holds the z-value of the vector. |
Definition at line 27 of file Vector3i.h.
Vector3i::Vector3i | ( | ) |
Standard constructer which initializes the vector to {0; 0; 0}.
Definition at line 30 of file Vector3i.cpp.
Vector3i::Vector3i | ( | int | p_x, | |
int | p_y, | |||
int | p_z | |||
) |
Constructor which initializes the vector with the given values.
p_x | The amaount for the x-value of the vector. | |
p_y | The amaount for the y-value of the vector. | |
p_z | The amaount for the z-value of the vector. |
Definition at line 23 of file Vector3i.cpp.
Vector3i::~Vector3i | ( | ) | [virtual] |
Subtracts the given vector.
subtrahend | The vector that will be substracted. |
Definition at line 50 of file Vector3i.cpp.
Adds the given vector.
summand | The vector that will be added. |
Definition at line 41 of file Vector3i.cpp.
Adds the given vector.
summand | The vector that will be added. |
Definition at line 59 of file Vector3i.cpp.
Subtracts the given vector.
subtrahend | The vector that will be substracted. |
Definition at line 64 of file Vector3i.cpp.
int Vector3i::x |
Holds the x-value of the vector.
Definition at line 85 of file Vector3i.h.
Referenced by operator+(), operator-(), Level::pick(), DAEffect::render(), FunctionHandler::scroll(), and Vector3i().
int Vector3i::y |
Holds the y-value of the vector.
Definition at line 90 of file Vector3i.h.
Referenced by operator+(), operator-(), Level::pick(), DAEffect::render(), FunctionHandler::scroll(), and Vector3i().
int Vector3i::z |
Holds the z-value of the vector.
Definition at line 95 of file Vector3i.h.
Referenced by operator+(), operator-(), and Vector3i().