diff options
author | Aaron Franke <arnfranke@yahoo.com> | 2019-10-02 16:35:49 -0400 |
---|---|---|
committer | Aaron Franke <arnfranke@yahoo.com> | 2019-10-14 16:48:59 -0400 |
commit | 218f38c7ecdea970a5e82a48e7782077be4fc248 (patch) | |
tree | 98c0dc91a6253b678a3cd3dc781b5b4c10044e65 /modules/mono/glue/Managed/Files/Plane.cs | |
parent | aeb70756287ad209f0b9d799bcd157dcaed41c17 (diff) |
Expose is_equal_approx and restore == to be exact again
This commit changes behavior for GDScript and C#.
Also did some organizing of the order to logically group related methods, mostly for Rect2 and AABB.
Diffstat (limited to 'modules/mono/glue/Managed/Files/Plane.cs')
-rw-r--r-- | modules/mono/glue/Managed/Files/Plane.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/glue/Managed/Files/Plane.cs b/modules/mono/glue/Managed/Files/Plane.cs index e7ad68ab49..4e59632a47 100644 --- a/modules/mono/glue/Managed/Files/Plane.cs +++ b/modules/mono/glue/Managed/Files/Plane.cs @@ -203,7 +203,7 @@ namespace Godot public bool Equals(Plane other) { - return _normal == other._normal && Mathf.IsEqualApprox(D, other.D); + return _normal == other._normal && D == other.D; } public bool IsEqualApprox(Plane other) |