summaryrefslogtreecommitdiff
path: root/scene/3d/camera.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2014-12-08 15:47:45 -0300
committerJuan Linietsky <reduzio@gmail.com>2014-12-08 15:47:45 -0300
commit6851f9bfaefdd70eb009efdede444d3238c7277c (patch)
treed7e90b45dcdcc792c57ca1d61adab274d8e30507 /scene/3d/camera.cpp
parent9df8d5f616dbb3f81299ccca4929c0a8f46a6d79 (diff)
Small Fixes
-=-=-=-=-=- -Bug in navmesh demo fixed -Bug in variant -Better Collada Exporter supports proper names of exported shapekeys
Diffstat (limited to 'scene/3d/camera.cpp')
-rw-r--r--scene/3d/camera.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/3d/camera.cpp b/scene/3d/camera.cpp
index 933f270475..1db9886261 100644
--- a/scene/3d/camera.cpp
+++ b/scene/3d/camera.cpp
@@ -529,6 +529,8 @@ Vector3 Camera::project_ray_origin(const Point2& p_pos) const {
}
+
+
Vector3 ray;
ray.x = pos.x * (hsize) - hsize/2;
ray.y = (1.0 - pos.y) * (vsize) - vsize/2;