summaryrefslogtreecommitdiffstats
path: root/core/math/camera_matrix.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-11-17 20:04:29 +0100
committerGitHub <noreply@github.com>2017-11-17 20:04:29 +0100
commit0968c8d2f65f7ac6e0d6b3718ee1028b229b3353 (patch)
treed2265ef6e3273658171104abe9b215f961d17495 /core/math/camera_matrix.cpp
parent1feeb3e1c8406caf5497d5fcb40820cbb2d0d165 (diff)
parentd28763a4c1792dc00fde3d151eaea54f9cf2b8a9 (diff)
downloadredot-engine-0968c8d2f65f7ac6e0d6b3718ee1028b229b3353.tar.gz
Merge pull request #12982 from tagcup/aabb_rename
Rename Rect3 to AABB.
Diffstat (limited to 'core/math/camera_matrix.cpp')
-rw-r--r--core/math/camera_matrix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/camera_matrix.cpp b/core/math/camera_matrix.cpp
index 2c587762e8..c5f1d57441 100644
--- a/core/math/camera_matrix.cpp
+++ b/core/math/camera_matrix.cpp
@@ -596,7 +596,7 @@ void CameraMatrix::make_scale(const Vector3 &p_scale) {
matrix[2][2] = p_scale.z;
}
-void CameraMatrix::scale_translate_to_fit(const Rect3 &p_aabb) {
+void CameraMatrix::scale_translate_to_fit(const AABB &p_aabb) {
Vector3 min = p_aabb.position;
Vector3 max = p_aabb.position + p_aabb.size;