MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Equals

Method Equals

Source/Engine/Core/Math/Int3.cs:1038–1042  ·  view source on GitHub ↗

Determines whether the specified is equal to this instance. The to compare with this instance. true if the specified is equal to this instance; otherwise, false .

(ref Int3 other)

Source from the content-addressed store, hash-verified

1036 /// <param name="other">The <see cref="Int3" /> to compare with this instance.</param>
1037 /// <returns><c>true</c> if the specified <see cref="Int3" /> is equal to this instance; otherwise, <c>false</c>.</returns>
1038 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1039 public bool Equals(ref Int3 other)
1040 {
1041 return other.X == X && other.Y == Y && other.Z == Z;
1042 }
1043
1044 /// <summary>
1045 /// Determines whether the specified <see cref="Int3" /> is equal to this instance.

Callers 1

Int3Class · 0.45

Calls 1

EqualsFunction · 0.70

Tested by

no test coverage detected