public static void AddRectangleToMesh(Point3D p0, Point3D p1, Point3D p2, Point3D p3, MeshGeometry3D mesh) { WpfTriangle.AddTriangleToMesh(p0, p1, p2, mesh); WpfTriangle.AddTriangleToMesh(p2, p3, p0, mesh); }
public void AddToMesh(MeshGeometry3D mesh) { WpfTriangle.AddTriangleToMesh(p0, p1, p2, mesh); WpfTriangle.AddTriangleToMesh(p2, p3, p0, mesh); }