Esempio n. 1
0
 /// <summary>
 /// Returns the hashcode for this instance.
 /// </summary>
 ///
 /// <returns>A 32-bit signed integer hash code.</returns>
 ///
 public override int GetHashCode( )
 {
     return
         (V00.GetHashCode( ) + V01.GetHashCode( ) + V02.GetHashCode( ) +
          V10.GetHashCode( ) + V11.GetHashCode( ) + V12.GetHashCode( ) +
          V20.GetHashCode( ) + V21.GetHashCode( ) + V22.GetHashCode( ));
 }
Esempio n. 2
0
 public bool Equals(Matrix2x2 other)
 {
     return(V00.Equals(other.V00) && V01.Equals(other.V01) && V10.Equals(other.V10) && V11.Equals(other.V11));
 }