aboutsummaryrefslogtreecommitdiff
path: root/core/helper/math_fieldwise.cpp
diff options
context:
space:
mode:
authorFerenc Arn2017-11-16 21:09:00 -0500
committerFerenc Arn2017-11-17 11:01:41 -0500
commitd28763a4c1792dc00fde3d151eaea54f9cf2b8a9 (patch)
tree7abd311b6e672829bd751fbf4d9135b60f2f9913 /core/helper/math_fieldwise.cpp
parentb44cb4e3b9b573a3cbbd6f71aff81e6c3465d84b (diff)
downloadgodot-d28763a4c1792dc00fde3d151eaea54f9cf2b8a9.tar.gz
godot-d28763a4c1792dc00fde3d151eaea54f9cf2b8a9.tar.zst
godot-d28763a4c1792dc00fde3d151eaea54f9cf2b8a9.zip
Rename Rect3 to AABB.
Fixes #12973.
Diffstat (limited to 'core/helper/math_fieldwise.cpp')
-rw-r--r--core/helper/math_fieldwise.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/helper/math_fieldwise.cpp b/core/helper/math_fieldwise.cpp
index 228611f8b..2cd8a4f39 100644
--- a/core/helper/math_fieldwise.cpp
+++ b/core/helper/math_fieldwise.cpp
@@ -46,8 +46,8 @@ Variant fieldwise_assign(const Variant &p_target, const Variant &p_source, const
switch (p_source.get_type()) {
- /* clang-format makes a mess of this macro usage */
- /* clang-format off */
+ /* clang-format makes a mess of this macro usage */
+ /* clang-format off */
case Variant::VECTOR2: {
@@ -106,9 +106,9 @@ Variant fieldwise_assign(const Variant &p_target, const Variant &p_source, const
return target;
}
- case Variant::RECT3: {
+ case Variant::AABB: {
- SETUP_TYPE(Rect3)
+ SETUP_TYPE(AABB)
/**/ TRY_TRANSFER_FIELD("px", position.x)
else TRY_TRANSFER_FIELD("py", position.y)