diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-11-10 10:11:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-10 10:11:16 +0100 |
commit | 2fdeed1b4f3820bebf9f39d69eb8bd59e1c4f2f2 (patch) | |
tree | a1823c69af2c0d40d208314317e6b2025fb6fdfb /scene/3d/arvr_nodes.h | |
parent | e711534c46dc6904704580505bc154840352c1e0 (diff) | |
parent | 6c557b8bdfc0f9b9080fa40b72c891bbca11679f (diff) |
Merge pull request #33501 from akien-mga/camera-project_position-defval
Camera: Don't set default value for project_position
Diffstat (limited to 'scene/3d/arvr_nodes.h')
-rw-r--r-- | scene/3d/arvr_nodes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/arvr_nodes.h b/scene/3d/arvr_nodes.h index 8e735f7110..b647df70aa 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, float p_z_depth = 0) const; + virtual Vector3 project_position(const Point2 &p_point, float p_z_depth) const; virtual Vector<Plane> get_frustum() const; ARVRCamera(); |