mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-09-01 22:09:20 +02:00
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().
25 KiB
25 KiB