コード例 #1
0
 private Vector3 GetPositionOnSegment(int segmentIndex, float t)
 {
     return(CatmullRomSpline.FindSplinePoint(this.knots[segmentIndex].position, this.knots[segmentIndex + 1].position, this.knots[segmentIndex + 2].position, this.knots[segmentIndex + 3].position, t));
 }