mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 23:16:50 +02:00
some size comparison debugging
This commit is contained in:
parent
9ba39c3a84
commit
86ba5e3064
2 changed files with 9 additions and 0 deletions
|
@ -29,6 +29,8 @@ bool VoxelPersistThread::process() {
|
||||||
_initialLoad = true;
|
_initialLoad = true;
|
||||||
qDebug("loading voxels from file: %s...\n", _filename);
|
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);
|
bool persistantFileRead = _tree->readFromSVOFile(_filename);
|
||||||
if (persistantFileRead) {
|
if (persistantFileRead) {
|
||||||
PerformanceWarning warn(true, "reaverageVoxelColors()", true);
|
PerformanceWarning warn(true, "reaverageVoxelColors()", true);
|
||||||
|
|
|
@ -78,5 +78,12 @@ private:
|
||||||
float _scale;
|
float _scale;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
class oldAABox {
|
||||||
|
glm::vec3 _corner;
|
||||||
|
glm::vec3 _size;
|
||||||
|
glm::vec3 _center;
|
||||||
|
glm::vec3 _topFarLeft;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue