2 Years Ago
Greatly improved the speed of GetPointAndTangentCubicHermite for long single spline track pieces. Instead of looping through every LUT entry to find the closest distance, calculate where exactly it will be using known data. No more loop. Also fixes incorrect use of prevPos, which wasn't being set beyond its starting value.