예제 #1
0
        internal GeometrySerializationAdaptor()
        {
            Metadata = new Metadata
            {
                Type      = "Geometry",
                Generator = "ThreeLib-Geometry.toJSON"
            };

            Data = new GeometryData();
        }
예제 #2
0
 /// <summary>
 /// Default constructor.
 /// </summary>
 public Geometry()
 {
     Type = GetType().Name;
     Data = new GeometryData();
 }