mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-09 06:23:14 +02:00
Removed redundant TREE_SCALE declaration
This commit is contained in:
parent
ff2e811b60
commit
195186f726
1 changed files with 1 additions and 2 deletions
|
@ -15,6 +15,7 @@
|
|||
#include <QtScript/QScriptEngine>
|
||||
|
||||
#include <AACube.h>
|
||||
#include <OctreeConstants.h>
|
||||
#include <SharedUtil.h>
|
||||
#include "VoxelConstants.h"
|
||||
|
||||
|
@ -53,8 +54,6 @@ void rayToVoxelIntersectionResultFromScriptValue(const QScriptValue& object, Ray
|
|||
|
||||
|
||||
inline QDebug operator<<(QDebug debug, const VoxelDetail& details) {
|
||||
const int TREE_SCALE = 16384; // ~10 miles.. This is the number of meters of the 0.0 to 1.0 voxel universe
|
||||
|
||||
debug << "VoxelDetail[ ("
|
||||
<< details.x * (float)TREE_SCALE << "," << details.y * (float)TREE_SCALE << "," << details.z * (float)TREE_SCALE
|
||||
<< " ) to ("
|
||||
|
|
Loading…
Reference in a new issue