diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-01-03 16:52:37 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-01-03 16:52:37 -0300 |
commit | fbdd925d9be1c4c96d05089d7d5a58cd938b002c (patch) | |
tree | 9f4eb2ae7c61450dffb4a86bb5e82cf66e23d496 /scene/3d/ray_cast.h | |
parent | eb1f978b1c1693018e9a6d353ca914f8e6586b4e (diff) | |
download | redot-engine-fbdd925d9be1c4c96d05089d7d5a58cd938b002c.tar.gz |
-Work in progress visual shader editor *DOES NOT WORK YET*
Diffstat (limited to 'scene/3d/ray_cast.h')
-rw-r--r-- | scene/3d/ray_cast.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/scene/3d/ray_cast.h b/scene/3d/ray_cast.h index 96606b1628..0239c61b67 100644 --- a/scene/3d/ray_cast.h +++ b/scene/3d/ray_cast.h @@ -45,8 +45,7 @@ class RayCast : public Spatial { Vector3 cast_to; - RID exception; - Set<RID> exceptions; + Set<RID> exclude; protected: @@ -66,6 +65,12 @@ public: Vector3 get_collision_point() const; Vector3 get_collision_normal() const; + void add_exception_rid(const RID& p_rid); + void add_exception(const Object* p_object); + void remove_exception_rid(const RID& p_rid); + void remove_exception(const Object* p_object); + void clear_exceptions(); + RayCast(); }; |