You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-24 15:26:15 +00:00
Make is_equal_approx separate for structures
This commit adds exposed behavior for C#
This commit is contained in:
@@ -185,6 +185,11 @@ namespace Godot
|
||||
return basis.Equals(other.basis) && origin.Equals(other.origin);
|
||||
}
|
||||
|
||||
public bool IsEqualApprox(Transform other)
|
||||
{
|
||||
return basis.IsEqualApprox(other.basis) && origin.IsEqualApprox(other.origin);
|
||||
}
|
||||
|
||||
public override int GetHashCode()
|
||||
{
|
||||
return basis.GetHashCode() ^ origin.GetHashCode();
|
||||
|
||||
Reference in New Issue
Block a user