예제 #1
0
 public bool EpsilonEqual(Frame3f f2, float epsilon)
 {
     return(origin.EpsilonEqual(f2.origin, epsilon) &&
            rotation.EpsilonEqual(f2.rotation, epsilon));
 }
예제 #2
0
 public bool EpsilonEqual(Matrix3f m2, float epsilon)
 {
     return(Row0.EpsilonEqual(m2.Row0, epsilon) &&
            Row1.EpsilonEqual(m2.Row1, epsilon) &&
            Row2.EpsilonEqual(m2.Row2, epsilon));
 }