summaryrefslogtreecommitdiff
path: root/src/koopatlas/camera.cpp
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-07-27 16:28:28 +0200
committerTreeki <treeki@gmail.com>2012-07-27 16:28:28 +0200
commit908363a9f3546fc785e3e099ad8a31e618de703e (patch)
tree862533cdab3e5e010eab4cb105a6660efeb3358d /src/koopatlas/camera.cpp
parent24eda6f87c4ce6f30fb9ef5cdaec8e1093513df3 (diff)
downloadkamek-908363a9f3546fc785e3e099ad8a31e618de703e.tar.gz
kamek-908363a9f3546fc785e3e099ad8a31e618de703e.zip
this fix might work, it might not, I don't know, I can't compile it
Diffstat (limited to '')
-rw-r--r--src/koopatlas/camera.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/koopatlas/camera.cpp b/src/koopatlas/camera.cpp
index 1347c93..95cffd3 100644
--- a/src/koopatlas/camera.cpp
+++ b/src/koopatlas/camera.cpp
@@ -26,8 +26,8 @@ dWorldCamera_c::dWorldCamera_c() {
camPos = (Vec){0.0, 0.0, 1.0};
camUp = (Vec){0.0, 1.0, 0.0};
- projection2d.near = 1.0;
- projection2d.far = 20000.0;
+ projection2d.near = -20000.0f;
+ projection2d.far = 20000.0f;
currentX = 416;
currentY = -224;