Removed redundant TREE_SCALE declaration

This commit is contained in:
Atlante45 2014-10-09 11:48:41 -07:00
parent ff2e811b60
commit 195186f726

View file

@ -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 ("