some size comparison debugging

This commit is contained in:
ZappoMan 2013-10-15 12:11:49 -07:00
parent 9ba39c3a84
commit 86ba5e3064
2 changed files with 9 additions and 0 deletions

View file

@ -29,6 +29,8 @@ bool VoxelPersistThread::process() {
_initialLoad = true;
qDebug("loading voxels from file: %s...\n", _filename);
qDebug("sizeof(VoxelNode)=%d sizeof(AABox)=%d sizeof(oldAABox)=%d\n", sizeof(VoxelNode), sizeof(AABox), sizeof(oldAABox));
bool persistantFileRead = _tree->readFromSVOFile(_filename);
if (persistantFileRead) {
PerformanceWarning warn(true, "reaverageVoxelColors()", true);

View file

@ -78,5 +78,12 @@ private:
float _scale;
};
class oldAABox {
glm::vec3 _corner;
glm::vec3 _size;
glm::vec3 _center;
glm::vec3 _topFarLeft;
};
#endif