Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
VoxelNeighbourHelper Class Reference
Collaboration diagram for VoxelNeighbourHelper:
[legend]

Public Member Functions

 VoxelNeighbourHelper (VoxelCluster *voxelCluster, bool includeDiagonals=true)
 
const std::vector< Voxel * > & neighbours (const glm::ivec3 &pos)
 
const std::vector< Voxel * > & neighbours (Voxel *voxel)
 

Protected Member Functions

void considerNeighbour (const glm::ivec3 &pos, const glm::ivec3 &offset)
 

Protected Attributes

VoxelClusterm_voxelCluster
 
std::vector< Voxel * > m_neighbours
 
bool m_includeDiagonals
 

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