5 #include <unordered_map> 
    9 #include "geometry/transform.h" 
   11 #include "utils/vec3hash.h" 
   30     void setTransform(
const Transform& transform);
 
   32     const glm::vec3& position() 
const;
 
   33     const glm::quat& orientation() 
const;
 
   35     Voxel* voxel(
const glm::ivec3& position);
 
   36     const Voxel* voxel(
const glm::ivec3& position) 
const;
 
   38     virtual void addVoxel(
Voxel* voxel);
 
   39     virtual void removeVoxel(
Voxel* voxel);
 
   41     const std::unordered_map<glm::ivec3, Voxel*>& voxelMap() 
const;
 
   42     int voxelCount() 
const;
 
   46     virtual float emissiveness() 
const;
 
   50     std::unordered_map<glm::ivec3, Voxel*> m_voxels;
 
   51     std::unique_ptr<VoxelRenderData> m_voxelRenderData;
 
   52     std::unique_ptr<VoxelClusterBounds> m_bounds;
 
Definition: voxelcluster.h:21
Definition: voxelclusterbounds.h:25
Definition: voxelrenderdata.h:21