#include <Space3D.h>
Public Member Functions | |
BoundedBlock () | |
BoundedBlock (int v) | |
Public Attributes | |
int | fill |
bool | left |
bool | right |
X axis. | |
bool | up |
bool | down |
Y axis. | |
bool | front |
bool | back |
Z axis. |
A voxel is a 3D pixel. this class represents the walls of a voxel, specifically, which walls are blocked and which aren't. It is used in the calculation of the volume of a shape.
BoundedBlock::BoundedBlock | ( | ) | [inline] |
BoundedBlock::BoundedBlock | ( | int | v | ) | [inline] |
bool BoundedBlock::left |
bool BoundedBlock::right |
X axis.
bool BoundedBlock::up |
bool BoundedBlock::down |
Y axis.
bool BoundedBlock::front |
bool BoundedBlock::back |
Z axis.