Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
splitdata.h
1 #pragma once
2 
3 #include <vector>
4 
5 #include <glm/glm.hpp>
6 
7 class WorldObject;
8 class Voxel;
9 
10 
11 class SplitData
12 {
13 public:
14  SplitData(WorldObject* worldObject);
15 
16  void addVoxel(Voxel *voxel);
17 
18  WorldObject *exWorldObject();
19 
20  std::vector<Voxel*> splitOffVoxels();
21  glm::ivec3 llf();
22 
23 protected:
24  WorldObject* m_exWorldObject;
25  std::vector<Voxel*> m_splitOffVoxels;
26  glm::ivec3 m_llf;
27 };
28 
Definition: splitdata.h:11
Definition: worldobject.h:43
Definition: voxel.h:15