mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 08:23:04 +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 <QtScript/QScriptEngine>
|
||||||
|
|
||||||
#include <AACube.h>
|
#include <AACube.h>
|
||||||
|
#include <OctreeConstants.h>
|
||||||
#include <SharedUtil.h>
|
#include <SharedUtil.h>
|
||||||
#include "VoxelConstants.h"
|
#include "VoxelConstants.h"
|
||||||
|
|
||||||
|
@ -53,8 +54,6 @@ void rayToVoxelIntersectionResultFromScriptValue(const QScriptValue& object, Ray
|
||||||
|
|
||||||
|
|
||||||
inline QDebug operator<<(QDebug debug, const VoxelDetail& details) {
|
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[ ("
|
debug << "VoxelDetail[ ("
|
||||||
<< details.x * (float)TREE_SCALE << "," << details.y * (float)TREE_SCALE << "," << details.z * (float)TREE_SCALE
|
<< details.x * (float)TREE_SCALE << "," << details.y * (float)TREE_SCALE << "," << details.z * (float)TREE_SCALE
|
||||||
<< " ) to ("
|
<< " ) to ("
|
||||||
|
|
Loading…
Reference in a new issue