Example #1
0
 public override int GetHashCode()
 {
     return(M11.GetHashCode() ^
            M12.GetHashCode() ^
            M13.GetHashCode() ^
            M21.GetHashCode() ^
            M22.GetHashCode() ^
            M23.GetHashCode() ^
            M31.GetHashCode() ^
            M32.GetHashCode() ^
            M33.GetHashCode());
 }
Example #2
0
 /// <summary>
 /// Gets the hashcode of the vector.
 /// </summary>
 /// <returns>Returns the hashcode of the vector.</returns>
 #region public override int GetHashCode()
 public override int GetHashCode()
 {
     return(x.GetHashCode() ^ y.GetHashCode() ^ z.GetHashCode());
 }