#include <collide_util.h>
Public Member Functions | |
CollideLoc3d (int Nx, int Ny, int Nz) | |
CollideLoc3d () | |
int | getX () const |
int | getY () const |
int | getZ () const |
unsigned int | hash (void) const |
int | compare (const CollideLoc3d &b) const |
Static Public Member Functions | |
static unsigned int | staticHash (const void *key, size_t ignored) |
static int | staticCompare (const void *k1, const void *k2, size_t ignored) |
Data Fields | |
int | x |
int | y |
int | z |
Static Private Member Functions | |
static int | cls (int x, unsigned int n) |
Definition at line 64 of file collide_util.h.
CollideLoc3d::CollideLoc3d | ( | ) | [inline] |
Definition at line 74 of file collide_util.h.
Definition at line 66 of file collide_util.h.
References int.
Referenced by hash().
int CollideLoc3d::getX | ( | ) | const [inline] |
int CollideLoc3d::getY | ( | ) | const [inline] |
int CollideLoc3d::getZ | ( | ) | const [inline] |
unsigned int CollideLoc3d::hash | ( | void | ) | const [inline] |
Definition at line 82 of file collide_util.h.
int CollideLoc3d::compare | ( | const CollideLoc3d & | b | ) | const [inline] |
Definition at line 85 of file collide_util.h.
Referenced by hashCache< n >::lookup().
static int CollideLoc3d::staticCompare | ( | const void * | k1, | |
const void * | k2, | |||
size_t | ignored | |||
) | [inline, static] |
Definition at line 88 of file collide_util.h.
Definition at line 72 of file collide_util.h.
Referenced by buildIndex(), CollideLoc3d(), compare(), getX(), hash(), CollideGrid3d::print(), and collideMgr::sendVoxelMessage().
Definition at line 72 of file collide_util.h.
Referenced by buildIndex(), CollideLoc3d(), compare(), getY(), hash(), CollideGrid3d::print(), and collideMgr::sendVoxelMessage().
Definition at line 72 of file collide_util.h.
Referenced by buildIndex(), CollideLoc3d(), compare(), getZ(), hash(), CollideGrid3d::print(), and collideMgr::sendVoxelMessage().