summaryrefslogtreecommitdiffstats
path: root/core/math/math_fieldwise.cpp
diff options
context:
space:
mode:
authorMarcus Elg <marcusaccounts@yahoo.se>2020-05-10 09:00:10 +0200
committerMarcus Elg <marcusaccounts@yahoo.se>2020-05-10 12:12:51 +0200
commitec7b481170dcd6a7b4cf0e6c1221e204ff7945f3 (patch)
treebd054639c909ab4ea6c855e70ddc3b25ee2f50b0 /core/math/math_fieldwise.cpp
parentff5dfcdf68c20590bf123ade75ca06ed58276372 (diff)
downloadredot-engine-ec7b481170dcd6a7b4cf0e6c1221e204ff7945f3.tar.gz
Renamed plane's d to distance
Diffstat (limited to 'core/math/math_fieldwise.cpp')
-rw-r--r--core/math/math_fieldwise.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/math_fieldwise.cpp b/core/math/math_fieldwise.cpp
index a47d4ef7ad..e42c399ba4 100644
--- a/core/math/math_fieldwise.cpp
+++ b/core/math/math_fieldwise.cpp
@@ -89,7 +89,7 @@ Variant fieldwise_assign(const Variant &p_target, const Variant &p_source, const
/**/ TRY_TRANSFER_FIELD("x", normal.x)
else TRY_TRANSFER_FIELD("y", normal.y)
else TRY_TRANSFER_FIELD("z", normal.z)
- else TRY_TRANSFER_FIELD("d", d)
+ else TRY_TRANSFER_FIELD("d", distance)
return target;
}