remove unused methods from VoxelSystem

This commit is contained in:
Stephen Birarda 2013-03-15 12:27:00 -07:00
parent 3e36ba9265
commit 42fe3ce077
2 changed files with 1 additions and 9 deletions

View file

@ -8,7 +8,7 @@
#include "VoxelSystem.h"
#include <AgentList.h>
#include <cstring>g
#include <cstring>
const int MAX_VOXELS_PER_SYSTEM = 500000;

View file

@ -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;