Rasterization-DiscoBall
 All Classes Files Functions Variables Pages
Public Member Functions | Public Attributes | List of all members
IntVec3 Class Reference

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
 

Detailed Description

Vector3 of integers, equals and +/- are overloaded.

Constructor & Destructor Documentation

IntVec3::IntVec3 ( )
IntVec3::IntVec3 ( int  x,
int  y,
int  z 
)

Member Function Documentation

bool IntVec3::operator!= ( const IntVec3 other) const
IntVec3 IntVec3::operator+ ( const IntVec3 other) const
IntVec3 IntVec3::operator- ( const IntVec3 other) const
bool IntVec3::operator== ( const IntVec3 other) const
Vector3 IntVec3::toVector ( )

Convert to a normal Vector3.

Member Data Documentation

int IntVec3::x
int IntVec3::y
int IntVec3::z

The documentation for this class was generated from the following files: