Voxel for subdividing a local area of space. More...
#include <voxel.h>
Inherits rtl_voxel.
A local voxel is used for subdividing space which contains a group of objects. This class is used by rtl_groupobj. You probably have no need for this class directly, if you think you do you probably should be inheriting from rtl_groupobj.
Creates a local subdivision of space for the given object. The object is needed to provide the bounding space of the local subdivision.
Subdivides the voxel at a given depth. Use add(rtl_groupmem*,int,int,int) if you use this function. This function will cause abort if you use add( rtl_groupmem* ).