summaryrefslogtreecommitdiffstats
path: root/scene/3d/camera.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-04-28 22:05:01 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-04-28 22:05:01 -0300
commit98c086edafbbb81635fed46b17268af2df9ae47d (patch)
tree9d7b40208796c7c0f4e4572ca57a61adf318f431 /scene/3d/camera.h
parentc6dce44dd85c4ebae791756a76f6afbfbb0a5c28 (diff)
downloadredot-engine-98c086edafbbb81635fed46b17268af2df9ae47d.tar.gz
-fix forced texture repeat in Polygon2D, now depends on texture.
-added a new function, Camera::is_position_behind to aid to unproject(), fixes #1725
Diffstat (limited to 'scene/3d/camera.h')
-rw-r--r--scene/3d/camera.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/3d/camera.h b/scene/3d/camera.h
index a3f59231da..e21f4865ec 100644
--- a/scene/3d/camera.h
+++ b/scene/3d/camera.h
@@ -126,6 +126,7 @@ public:
Vector3 project_ray_origin(const Point2& p_point) const;
Vector3 project_local_ray_normal(const Point2& p_point) const;
Point2 unproject_position(const Vector3& p_pos) const;
+ bool is_position_behind(const Vector3& p_pos) const;
Vector3 project_position(const Point2& p_point) const;
void set_visible_layers(uint32_t p_layers);