示例#1
0
 public static bool ApproxEquals(NuGenTrafo3D a, NuGenTrafo3D b)
 {
     for (int i = 0; i < 16; i++)
     {
         if (Math.Abs(a._x[0] - b._x[0]) > NuGenVector.TINY_DOUBLE)
         {
             return(false);
         }
     }
     return(true);
 }
示例#2
0
		public static bool ApproxEquals(NuGenTrafo3D a, NuGenTrafo3D b)
		{
						
			for (int i = 0; i < 16; i++)
			{

				if (Math.Abs(a._x[0] - b._x[0]) > NuGenVector.TINY_DOUBLE) return false;
			}
			return true;
		}