diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-05-03 21:06:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-03 21:06:59 +0200 |
commit | 76cc12d916472187fe7dda6fc9d774e0c1159209 (patch) | |
tree | 7f4a2b1e2d50112782b5cac2cd5ff425e98bc998 | |
parent | f056b09f5a90e7260958a92514c2f4e97a2c466a (diff) | |
parent | 680a5cbb0bd8a6753400facc469e3d9126ff92c4 (diff) |
Merge pull request #18572 from bzztbomb/fix/project_local_ray_normal_virtual
Fix for ARVRCamera::project_local_ray_normal not getting called.
-rw-r--r-- | scene/3d/camera.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/3d/camera.h b/scene/3d/camera.h index 109bf3adc6..1b506e0c4f 100644 --- a/scene/3d/camera.h +++ b/scene/3d/camera.h @@ -132,9 +132,9 @@ public: virtual Transform get_camera_transform() const; - Vector3 project_ray_normal(const Point2 &p_pos) const; + virtual Vector3 project_ray_normal(const Point2 &p_pos) const; virtual Vector3 project_ray_origin(const Point2 &p_pos) const; - Vector3 project_local_ray_normal(const Point2 &p_pos) const; + virtual Vector3 project_local_ray_normal(const Point2 &p_pos) const; virtual Point2 unproject_position(const Vector3 &p_pos) const; bool is_position_behind(const Vector3 &p_pos) const; virtual Vector3 project_position(const Point2 &p_point) const; |