mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-29 19:02:55 +02:00
added TREE_SCALE to default camera farClip
This commit is contained in:
parent
1967526675
commit
5253485261
2 changed files with 4 additions and 1 deletions
|
@ -6,6 +6,7 @@
|
||||||
//---------------------------------------------------------------------
|
//---------------------------------------------------------------------
|
||||||
|
|
||||||
#include <SharedUtil.h>
|
#include <SharedUtil.h>
|
||||||
|
#include <VoxelConstants.h>
|
||||||
// #include "Log.h"
|
// #include "Log.h"
|
||||||
|
|
||||||
#include "Camera.h"
|
#include "Camera.h"
|
||||||
|
@ -16,7 +17,7 @@ Camera::Camera() {
|
||||||
_tightness = 10.0; // default
|
_tightness = 10.0; // default
|
||||||
_fieldOfView = 60.0; // default
|
_fieldOfView = 60.0; // default
|
||||||
_nearClip = 0.08; // default
|
_nearClip = 0.08; // default
|
||||||
_farClip = 50.0; // default
|
_farClip = 50.0 * TREE_SCALE; // default
|
||||||
_modeShift = 0.0;
|
_modeShift = 0.0;
|
||||||
_yaw = 0.0;
|
_yaw = 0.0;
|
||||||
_pitch = 0.0;
|
_pitch = 0.0;
|
||||||
|
|
|
@ -12,6 +12,8 @@
|
||||||
#ifndef __hifi_VoxelConstants_h__
|
#ifndef __hifi_VoxelConstants_h__
|
||||||
#define __hifi_VoxelConstants_h__
|
#define __hifi_VoxelConstants_h__
|
||||||
|
|
||||||
|
#include <limits.h>
|
||||||
|
|
||||||
const int MAX_VOXEL_PACKET_SIZE = 1492;
|
const int MAX_VOXEL_PACKET_SIZE = 1492;
|
||||||
const int MAX_TREE_SLICE_BYTES = 26;
|
const int MAX_TREE_SLICE_BYTES = 26;
|
||||||
const int TREE_SCALE = 10;
|
const int TREE_SCALE = 10;
|
||||||
|
|
Loading…
Reference in a new issue