summaryrefslogtreecommitdiff
path: root/scene/3d/portal.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/3d/portal.h')
-rw-r--r--scene/3d/portal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/3d/portal.h b/scene/3d/portal.h
index 8464a628f9..077924c7e8 100644
--- a/scene/3d/portal.h
+++ b/scene/3d/portal.h
@@ -54,7 +54,7 @@ class Portal : public VisualInstance {
Color disabled_color;
float connect_range;
- AABB aabb;
+ Rect3 aabb;
protected:
@@ -67,7 +67,7 @@ protected:
public:
- virtual AABB get_aabb() const;
+ virtual Rect3 get_aabb() const;
virtual PoolVector<Face3> get_faces(uint32_t p_usage_flags) const;
void set_enabled(bool p_enabled);