Beispiel #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);
 }
Beispiel #2
0
 public void MeshAtEndPointUpdate()
 {
     this.meshAtPoints = MakeMesh.GetMeshAtEndPoint(this.points, this.radius * 2.0f);
 }
Beispiel #3
0
 public void MeshUpdate()
 {
     this.mesh = MakeMesh.GetMesh(this.points, this.meridian, this.radius, this.closed);
 }