Exemple #1
0
        public Submesh3DCollection Clone(Mesh3D owner)
        {
            var clone = new Submesh3DCollection(owner);

            for (int i = 0; i < Count; i++)
            {
                clone.Add(this[i].Clone());
            }
            return(clone);
        }
Exemple #2
0
 public Mesh3D()
 {
     Presenter = DefaultPresenter.Instance;
     Submeshes = new Submesh3DCollection(this);
     CullMode  = CullMode.CullClockwise;
 }