示例#1
0
 public bool Equals(MatrixF other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     for (var i = 0; i < 16; i++)
     {
         if (Math.Abs(Values[i] - other.Values[i]) > 0.0001)
         {
             return(false);
         }
     }
     return(true);
 }