Exemple #1
0
				public void AddPoints (MeshObject mo, float v)
				{
						for (int i = 0; i < SpinePoints.Count; i++) {
								Vector3 l = SpinePoints [i];
								float u = i / ((float)SpinePoints.Count);
								MeshPoints.Add (mo.AddPoint (l.x, l.y, l.z, u, v, 0, 1, 0));
						}
				}
Exemple #2
0
 public void AddPoints(MeshObject mo, float v)
 {
     for (int i = 0; i < SpinePoints.Count; i++)
     {
         Vector3 l = SpinePoints [i];
         float   u = i / ((float)SpinePoints.Count);
         MeshPoints.Add(mo.AddPoint(l.x, l.y, l.z, u, v, 0, 1, 0));
     }
 }