Ejemplo n.º 1
0
 public Curve(List <Vector3> points, bool closed, bool selected = false, float segment = 0.03f, int meridian = 10, float radius = 0.005f)
 {
     this.points   = points;
     this.momentum = new List <Vector3>();
     this.closed   = closed;
     this.selected = selected;
     this.segment  = segment;
     this.meridian = meridian;
     this.radius   = radius;
     this.mesh     = MakeMesh.GetMesh(this.points, this.meridian, this.radius, this.closed);
 }
Ejemplo n.º 2
0
 public void MeshUpdate()
 {
     this.mesh = MakeMesh.GetMesh(this.points, this.meridian, this.radius, this.closed);
 }