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

Classes

struct  VoxelGroup
 

Public Member Functions

void searchSplitOffs (std::list< WorldObjectModification > &worldObjectModifications)
 
std::vector< std::shared_ptr
< SplitData > > & 
splitDataList ()
 

Protected Member Functions

void clear ()
 
void findSplits (WorldObject *worldObject)
 
void createSplitData (WorldObject *worldObject)
 
void init (WorldObject *worldObject)
 
int address (const glm::ivec3 &pos)
 
VoxelGroupvoxelGroup (const glm::ivec3 &pos)
 
void fillColor (const glm::ivec3 &start, int groupId)
 
void visit (const glm::ivec3 &p)
 

Protected Attributes

std::vector< std::shared_ptr
< SplitData > > 
m_splitDataList
 
std::vector< VoxelGroupm_voxelArray
 
std::stack< glm::ivec3 > m_stack
 
int m_xy
 
int m_x
 
glm::ivec3 m_llf
 
glm::ivec3 m_size
 
int m_nextGroupId
 

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