mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-12-01 16:27:11 +01:00
c8e5360d87
In TSegment there were two different formulas for a derivative. Most places called GetFirstDerivative() that used the direct formula from the curve points. However RaPositionGet() had its own calculation based on pre-computed cubic polynomial coefficients. This latter method is faster and simpler, so change GetFirstDerivative() to use it and change RaPositionGet() to just call GetFirstDerivative().