コード例 #1
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);
 }
コード例 #2
0
ファイル: EditablePoly.cs プロジェクト: nicoschtein/TGC2014
 /// <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);
 }