mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 16:55:07 +02:00
remove unused methods from VoxelSystem
This commit is contained in:
parent
3e36ba9265
commit
42fe3ce077
2 changed files with 1 additions and 9 deletions
|
@ -8,7 +8,7 @@
|
|||
|
||||
#include "VoxelSystem.h"
|
||||
#include <AgentList.h>
|
||||
#include <cstring>g
|
||||
#include <cstring>
|
||||
|
||||
const int MAX_VOXELS_PER_SYSTEM = 500000;
|
||||
|
||||
|
|
|
@ -19,11 +19,6 @@
|
|||
|
||||
const int NUM_CHILDREN = 8;
|
||||
|
||||
struct Voxel {
|
||||
glm::vec3 color;
|
||||
Voxel * children[NUM_CHILDREN];
|
||||
};
|
||||
|
||||
class VoxelSystem : public AgentData {
|
||||
public:
|
||||
VoxelSystem();
|
||||
|
@ -34,12 +29,9 @@ public:
|
|||
|
||||
void init();
|
||||
void simulate(float deltaTime);
|
||||
int render(Voxel * voxel, float scale, glm::vec3 * distance);
|
||||
void render();
|
||||
int initVoxels(Voxel * root, float scale, glm::vec3 * position);
|
||||
void setVoxelsRendered(int v) {voxelsRendered = v;};
|
||||
int getVoxelsRendered() {return voxelsRendered;};
|
||||
Voxel * root;
|
||||
private:
|
||||
int voxelsRendered;
|
||||
GLfloat *verticesArray;
|
||||
|
|
Loading…
Reference in a new issue