Voxellancer
0.3
A game about voxels in space
|
Public Member Functions | |
VoxelClusterBounds (VoxelCluster *voxelCluster) | |
void | addVoxel (Voxel *voxel) |
void | removeVoxel (Voxel *voxel) |
const GridAABB & | minimalGridAABB () |
const Sphere & | minimalGridSphere () |
const IAABB & | aabb () |
IAABB | aabb (const Transform &transform) |
const Sphere & | sphere () |
Sphere | sphere (const Transform &transform) |
Protected Member Functions | |
void | calculateMinimalGridAABB () |
void | calculateMinimalGridSphere () |
const IAABB | calculateAABB (const Transform &transform) |
Protected Attributes | |
VoxelCluster * | m_voxelCluster |
std::set< Voxel *, VoxelGridCmp< XAxis, YAxis, ZAxis > > | m_voxelsXSorted |
std::set< Voxel *, VoxelGridCmp< YAxis, XAxis, ZAxis > > | m_voxelsYSorted |
std::set< Voxel *, VoxelGridCmp< ZAxis, XAxis, YAxis > > | m_voxelsZSorted |