Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
worldobjectmodification.h
1 #pragma once
2 
3 #include <vector>
4 
5 #include <glm/glm.hpp>
6 
7 
8 class WorldObject;
9 
11 {
12 public:
14 
15  WorldObject *worldObject();
16 
17  void removedVoxel(const glm::ivec3 &pos);
18  const std::vector<glm::ivec3> &removedVoxels();
19 
20 
21 protected:
22  WorldObject *m_worldObject;
23  std::vector<glm::ivec3> m_removedVoxels;
24 };
Definition: worldobject.h:43
Definition: worldobjectmodification.h:10