Coord3d Struct Reference

Coord3d is a general purpose three dimentional vertor of ints. More...

#include <general.h>

List of all members.

Public Member Functions

 Coord3d (int dx=0, int dy=0, int dz=0)
 Coord3d (const Coord3d &src)
Coord3doperator+= (const Coord3d &a)
Coord3doperator-= (const Coord3d &a)

Public Attributes

int x
int y
int z


Detailed Description

Coord3d is a general purpose three dimentional vertor of ints.

It is used in various places where there is no need for a float vector such as in the processes of BuildWorld


Constructor & Destructor Documentation

Coord3d::Coord3d ( int  dx = 0,
int  dy = 0,
int  dz = 0 
) [inline]

Coord3d::Coord3d ( const Coord3d src  )  [inline]


Member Function Documentation

Coord3d& Coord3d::operator+= ( const Coord3d a  )  [inline]

Coord3d& Coord3d::operator-= ( const Coord3d a  )  [inline]


Member Data Documentation


The documentation for this struct was generated from the following file: