Example #1
0
 public void Deserialize(Dictionary <string, object> json, System.IO.BinaryReader br)
 {
     Verticies = (Vector3Array)ObjectFactory.GetObjectFromGuid(json, br, vertices);
 }
Example #2
0
 public PointSetGeometry(List <double[]> data) : this()
 {
     origin    = new double[] { 0, 0, 0 };
     Verticies = new Vector3Array(data);
 }
Example #3
0
 public void Deserialize(Dictionary <string, object> json, BinaryReader br)
 {
     Vertices = (Vector3Array)ObjectFactory.GetObjectFromGuid(json, br, vertices);
     Segments = (Int2Array)ObjectFactory.GetObjectFromGuid(json, br, segments);
 }
Example #4
0
 public SurfaceGeometry(List <double[]> vertices, List <int[]> faces) : this()
 {
     origin    = new double[] { 0, 0, 0 };
     Verticies = new Vector3Array(vertices);
     Triangles = new Int3Array(faces);
 }
Example #5
0
 public LineSetGeometry(List <double[]> verts, List <int[]> segments) : this()
 {
     origin   = new double[] { 0, 0, 0 };
     Segments = new Int2Array(segments);
     Vertices = new Vector3Array(verts);
 }