Beispiel #1
0
        public Vector2f GetPoint(int DeltaT)
        {
            _Traveled += _SpeedRecipricol * DeltaT;
            if (_Traveled > 1)
            {
                _Traveled = 1;
            }

            if (_Traveled < 1)
            {
                return(_Spline.GetPoint(_Traveled));
            }
            return(_End);
        }