From ccc56cc6d483c89905ab995808525f16ed24dd36 Mon Sep 17 00:00:00 2001 From: Yuri Rubinsky Date: Thu, 21 Jul 2022 19:34:09 +0300 Subject: Rename `epsilon` to `tolerance` in the `Plane::has_point` method --- modules/mono/glue/GodotSharp/GodotSharp/Core/Plane.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/mono/glue') diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Plane.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Plane.cs index 63af1c5892..fd97a71e47 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Plane.cs +++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/Plane.cs @@ -118,15 +118,15 @@ namespace Godot /// /// Returns if point is inside the plane. - /// Comparison uses a custom minimum epsilon threshold. + /// Comparison uses a custom minimum tolerance threshold. /// /// The point to check. - /// The tolerance threshold. + /// The tolerance threshold. /// A for whether or not the plane has the point. - public bool HasPoint(Vector3 point, real_t epsilon = Mathf.Epsilon) + public bool HasPoint(Vector3 point, real_t tolerance = Mathf.Epsilon) { real_t dist = _normal.Dot(point) - D; - return Mathf.Abs(dist) <= epsilon; + return Mathf.Abs(dist) <= tolerance; } /// -- cgit v1.2.3