Voxellancer
0.3
A game about voxels in space
|
Public Member Functions | |
VoxelCluster (float scale) | |
VoxelClusterBounds & | bounds () |
Transform & | transform () |
const Transform & | transform () const |
void | setTransform (const Transform &transform) |
const glm::vec3 & | position () const |
const glm::quat & | orientation () const |
Voxel * | voxel (const glm::ivec3 &position) |
const Voxel * | voxel (const glm::ivec3 &position) const |
virtual void | addVoxel (Voxel *voxel) |
virtual void | removeVoxel (Voxel *voxel) |
const std::unordered_map < glm::ivec3, Voxel * > & | voxelMap () const |
int | voxelCount () const |
VoxelRenderData * | voxelRenderData () |
virtual float | emissiveness () const |
Protected Attributes | |
std::unordered_map< glm::ivec3, Voxel * > | m_voxels |
std::unique_ptr< VoxelRenderData > | m_voxelRenderData |
std::unique_ptr < VoxelClusterBounds > | m_bounds |
Transform | m_transform |