Vector3 of integers, equals and +/- are overloaded. More...
#include <Map.h>
Public Member Functions | |
| IntVec3 () | |
| IntVec3 (int x, int y, int z) | |
| bool | operator!= (const IntVec3 &other) const |
| IntVec3 | operator+ (const IntVec3 &other) const |
| IntVec3 | operator- (const IntVec3 &other) const |
| bool | operator== (const IntVec3 &other) const |
| Vector3 | toVector () |
| Convert to a normal Vector3. More... | |
Public Attributes | |
| int | x |
| int | y |
| int | z |
Vector3 of integers, equals and +/- are overloaded.
| IntVec3::IntVec3 | ( | ) |
| IntVec3::IntVec3 | ( | int | x, |
| int | y, | ||
| int | z | ||
| ) |
| bool IntVec3::operator!= | ( | const IntVec3 & | other | ) | const |
| bool IntVec3::operator== | ( | const IntVec3 & | other | ) | const |
| Vector3 IntVec3::toVector | ( | ) |
Convert to a normal Vector3.
| int IntVec3::x |
| int IntVec3::y |
| int IntVec3::z |
1.8.7