Esempio n. 1
0
 public void PopulateTrackNodeWithBesier(int numberOfNodes)
 {
     trackNode.nodeList.Clear();
     for (int node = 0; node < numberOfNodes; node++)
     {
         trackNode.AddNode(sourceBesierSpline.GetPoint((float)node / (float)numberOfNodes));
     }
 }