summaryrefslogtreecommitdiff
path: root/core/variant
diff options
context:
space:
mode:
authorYuri Rubinsky <chaosus89@gmail.com>2022-07-21 19:34:09 +0300
committerYuri Rubinsky <chaosus89@gmail.com>2022-07-21 20:15:15 +0300
commitccc56cc6d483c89905ab995808525f16ed24dd36 (patch)
treefc3178948fac71c12e4d00cad9c1a824eb5bea26 /core/variant
parentd6b1dd4854be3b31673e7634d3b88499f3bd2b60 (diff)
Rename `epsilon` to `tolerance` in the `Plane::has_point` method
Diffstat (limited to 'core/variant')
-rw-r--r--core/variant/variant_call.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/variant/variant_call.cpp b/core/variant/variant_call.cpp
index 8e16a767cf..47943a563f 100644
--- a/core/variant/variant_call.cpp
+++ b/core/variant/variant_call.cpp
@@ -1732,7 +1732,7 @@ static void _register_variant_builtin_methods() {
bind_method(Plane, is_equal_approx, sarray("to_plane"), varray());
bind_method(Plane, is_point_over, sarray("plane"), varray());
bind_method(Plane, distance_to, sarray("point"), varray());
- bind_method(Plane, has_point, sarray("point", "epsilon"), varray(CMP_EPSILON));
+ bind_method(Plane, has_point, sarray("point", "tolerance"), varray(CMP_EPSILON));
bind_method(Plane, project, sarray("point"), varray());
bind_methodv(Plane, intersect_3, &Plane::intersect_3_bind, sarray("b", "c"), varray());
bind_methodv(Plane, intersects_ray, &Plane::intersects_ray_bind, sarray("from", "dir"), varray());