summaryrefslogtreecommitdiff
path: root/scene/3d/arvr_nodes.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-05-28 19:25:37 +0200
committerGitHub <noreply@github.com>2019-05-28 19:25:37 +0200
commit0e441e9a1a5131c2e7f62592a5ad1addc6b72e00 (patch)
treee90790755836e341de28486083b2943a8ab71b8d /scene/3d/arvr_nodes.h
parent500fe8960079400140f5459c482d8e116f589172 (diff)
parent6fe957de63b8ecbd51caf2e6c1bf7efc1d53221c (diff)
Merge pull request #29248 from Cheeseness/camera_project_fix
Add a depth parameter to Camera::project_position()
Diffstat (limited to 'scene/3d/arvr_nodes.h')
-rw-r--r--scene/3d/arvr_nodes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/arvr_nodes.h b/scene/3d/arvr_nodes.h
index 0833e18d48..8e735f7110 100644
--- a/scene/3d/arvr_nodes.h
+++ b/scene/3d/arvr_nodes.h
@@ -55,7 +55,7 @@ public:
virtual Vector3 project_local_ray_normal(const Point2 &p_pos) const;
virtual Point2 unproject_position(const Vector3 &p_pos) const;
- virtual Vector3 project_position(const Point2 &p_point) const;
+ virtual Vector3 project_position(const Point2 &p_point, float p_z_depth = 0) const;
virtual Vector<Plane> get_frustum() const;
ARVRCamera();