Voxellancer
0.3
A game about voxels in space
Main Page
Related Pages
Classes
Files
File List
All
Classes
Functions
Pages
voxeltree.h
1
#pragma once
2
3
#include <memory>
4
5
class
Voxel
;
6
class
WorldObject
;
7
class
VoxelTreeNode
;
8
9
class
VoxelTree
{
10
public
:
11
VoxelTree
(
WorldObject
* worldObject);
12
~
VoxelTree
();
13
14
VoxelTreeNode
* root();
15
16
void
insert(
Voxel
* voxel);
17
void
remove
(
Voxel
* voxel);
18
19
WorldObject
* worldObject();
20
21
22
protected
:
23
VoxelTreeNode
* m_shadowRoot;
24
VoxelTreeNode
* m_currentRoot;
25
WorldObject
* m_worldObject;
26
};
WorldObject
Definition:
worldobject.h:43
VoxelTreeNode
Definition:
voxeltreenode.h:15
Voxel
Definition:
voxel.h:15
VoxelTree
Definition:
voxeltree.h:9
src
voxel
voxeltree.h
Generated on Sun Mar 30 2014 13:32:32 for Voxellancer by
1.8.6