コード例 #1
0
 public Simplification(Vector3[] vertices, int[] triangles)
 {
     this.vertices    = vertices;
     this.triangles   = triangles;
     this.faceDb      = new FaceDatabase();
     this.vertexInfos = InitVertexInfos();
     this.costs       = InitCosts();
 }
コード例 #2
0
 public Face(FaceDatabase db, int v0, int v1, int v2)
 {
     this._db = db;
     this._v0 = v0;
     this._v1 = v1;
     this._v2 = v2;
     this._db.Add(this);
 }