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)
| 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. |