/// <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); }
/// <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); }