aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/yabs_core.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/yabs_core.cpp b/src/yabs_core.cpp
index 31cfa3c..f6d6488 100644
--- a/src/yabs_core.cpp
+++ b/src/yabs_core.cpp
@@ -135,12 +135,12 @@ int tick(TickObjs& tobjs, Scene3D& scene_3d) {
scene_3d.camera.target.z = scene_3d.camera.position.z - transform.m14;
range = {
- {scene_3d.camera.target.x - 10.5f,
- scene_3d.camera.target.y - 1.0f,
- scene_3d.camera.target.z - 10.5f},
- {scene_3d.camera.target.x + 10.5f,
- scene_3d.camera.target.y + 1.5f,
- scene_3d.camera.target.z + 10.5f}
+ {scene_3d.camera.target.x - 1.5f,
+ scene_3d.camera.target.y - 0.5f,
+ scene_3d.camera.target.z - 1.5f},
+ {scene_3d.camera.target.x + 1.5f,
+ scene_3d.camera.target.y + 0.5f,
+ scene_3d.camera.target.z + 1.5f}
};
if (IsMouseButtonPressed(MOUSE_BUTTON_LEFT)) {