/// <summary>
 /// Construir un EditablePoly a partir de un mesh
 /// </summary>
 public EditablePoly(MeshCreatorControl control, TgcMesh origMesh)
 {
     this.control = control;
     this.currentPrimitive = PrimitiveType.None;
     this.rectMesh = new SelectionRectangleMesh();
     this.selectionList = new List<EditPolyPrimitive>();
     this.primitiveRenderer = new PrimitiveRenderer(this);
     this.translateGizmo = new EditablePolyTranslateGizmo(this);
     this.deletedTriangles = new List<int>();
     loadMesh(origMesh);
 }
Exemple #2
0
 /// <summary>
 /// Construir un EditablePoly a partir de un mesh
 /// </summary>
 public EditablePoly(MeshCreatorControl control, TgcMesh origMesh)
 {
     this.control           = control;
     this.currentPrimitive  = PrimitiveType.None;
     this.rectMesh          = new SelectionRectangleMesh();
     this.selectionList     = new List <EditPolyPrimitive>();
     this.primitiveRenderer = new PrimitiveRenderer(this);
     this.translateGizmo    = new EditablePolyTranslateGizmo(this);
     this.deletedTriangles  = new List <int>();
     loadMesh(origMesh);
 }