summaryrefslogtreecommitdiffstats
path: root/scene/3d/test_cube.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/3d/test_cube.cpp')
-rw-r--r--scene/3d/test_cube.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/3d/test_cube.cpp b/scene/3d/test_cube.cpp
index c2ebe63e21..c52e596032 100644
--- a/scene/3d/test_cube.cpp
+++ b/scene/3d/test_cube.cpp
@@ -31,9 +31,9 @@
-AABB TestCube::get_aabb() const {
+Rect3 TestCube::get_aabb() const {
- return AABB( Vector3(-1,-1,-1), Vector3(2, 2, 2 ) );
+ return Rect3( Vector3(-1,-1,-1), Vector3(2, 2, 2 ) );
}
PoolVector<Face3> TestCube::get_faces(uint32_t p_usage_flags) const {