|
#include <VoxelCube.h>
Public Types | |
typedef std::list< VoxelPos >::iterator | iterator |
Public Methods | |
SurfaceVoxelList () | |
Constructor. | |
iterator | begin () |
Get a random-access iterator that points to the first voxel in the list. | |
iterator | end () |
Get a random-access iterator that points just beyond the end of the sequence. | |
void | push_back (VoxelPos p) |
Inserts a voxel with position p at the end list. | |
unsigned int | size () |
Number of voxels in the list. | |
iterator | erase (iterator &i) |
Remove a voxel from the list. | |
void | clear () |
Remove all voxels in the list. |
This doesn't include transparent (carved) voxels, and it doesn't include completely enclosed voxels.
Definition at line 76 of file VoxelCube.h.