Exemple #1
0
 internal static bool AreApproxEqual(DiffuseOnlyVertex lhs, DiffuseOnlyVertex rhs)
 {
     return
         (VertexComparer.PositionsAreApproxEqual(lhs.Position, rhs.Position) &&
          VertexComparer.NormalsAreApproxEqual(lhs.Normal, rhs.Normal) &&
          VertexComparer.UVsAreApproxEqual(lhs.DiffuseUV, rhs.DiffuseUV));
 }
Exemple #2
0
 internal static bool AreApproxEqual(UntexturedVertex lhs, UntexturedVertex rhs)
 {
     return
         (VertexComparer.PositionsAreApproxEqual(lhs.Position, rhs.Position) &&
          VertexComparer.NormalsAreApproxEqual(lhs.Normal, rhs.Normal));
 }