diff options
author | salaaad2 <arthurdurant263@gmail.com> | 2022-08-21 00:14:40 +0200 |
---|---|---|
committer | salaaad2 <arthurdurant263@gmail.com> | 2022-08-21 00:14:40 +0200 |
commit | a3fb4597d23dba998e349f643df97b2f9e0bd423 (patch) | |
tree | f5460e45c87cd85231927b1204a687c98988abd8 | |
parent | Merge pull request #1 from salaaad2/letsgo (diff) | |
download | yabs-a3fb4597d23dba998e349f643df97b2f9e0bd423.tar.gz yabs-a3fb4597d23dba998e349f643df97b2f9e0bd423.tar.bz2 yabs-a3fb4597d23dba998e349f643df97b2f9e0bd423.tar.xz yabs-a3fb4597d23dba998e349f643df97b2f9e0bd423.tar.zst yabs-a3fb4597d23dba998e349f643df97b2f9e0bd423.zip |
-rw-r--r-- | src/yabs_core.cpp | 12 |
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)) { |