public void Deserialize(Dictionary <string, object> json, System.IO.BinaryReader br) { Verticies = (Vector3Array)ObjectFactory.GetObjectFromGuid(json, br, vertices); Triangles = (Int3Array)ObjectFactory.GetObjectFromGuid(json, br, triangles); }
public SurfaceGeometry(List <double[]> vertices, List <int[]> faces) : this() { origin = new double[] { 0, 0, 0 }; Verticies = new Vector3Array(vertices); Triangles = new Int3Array(faces); }