From a3fb4597d23dba998e349f643df97b2f9e0bd423 Mon Sep 17 00:00:00 2001 From: salaaad2 Date: Sun, 21 Aug 2022 00:14:40 +0200 Subject: adjust shot width and length --- src/yabs_core.cpp | 12 ++++++------ 1 file 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)) { -- cgit v1.2.3