summaryrefslogtreecommitdiff
path: root/scene/3d/quad.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/3d/quad.cpp')
-rw-r--r--scene/3d/quad.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/3d/quad.cpp b/scene/3d/quad.cpp
index f1c59860af..d1cef0e851 100644
--- a/scene/3d/quad.cpp
+++ b/scene/3d/quad.cpp
@@ -66,7 +66,7 @@ void Quad::_update() {
pointsw[3][a2]=-s2.y+offset.y;
- aabb=AABB(pointsw[0],Vector3());
+ aabb=Rect3(pointsw[0],Vector3());
for(int i=1;i<4;i++)
aabb.expand_to(pointsw[i]);
@@ -192,7 +192,7 @@ PoolVector<Face3> Quad::get_faces(uint32_t p_usage_flags) const {
return PoolVector<Face3>();
}
-AABB Quad::get_aabb() const {
+Rect3 Quad::get_aabb() const {
return aabb;
}