mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 22:44:15 +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;
|
||||
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);
|
||||
|
|
|
@ -78,5 +78,12 @@ private:
|
|||
float _scale;
|
||||
};
|
||||
|
||||
class oldAABox {
|
||||
glm::vec3 _corner;
|
||||
glm::vec3 _size;
|
||||
glm::vec3 _center;
|
||||
glm::vec3 _topFarLeft;
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue