Camera::project_local_ray_normal needs to be virtual so that ARVRCamera::project_local_ray_normal gets called.

(cherry picked from commit 680a5cbb0b)
This commit is contained in:
Brian Richardson 2018-05-02 17:03:51 -07:00 committed by Rémi Verschelde
parent dfb839ebce
commit fdbef334bb
1 changed files with 2 additions and 2 deletions

View File

@ -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;