Draw track preview with native cubic curves

#4
by TiGa-RCE - opened

The preview still pulled each segment toward its tile center with a quadratic curve. After correcting connection coordinates, that shortcut caused pointed joins and bent offset straight pieces, including A01's bottom-middle tile.

Draw cubic Bezier segments using the simulator source's inward connection normals, type-dependent tangent angles, and handle lengths. This reproduces the native track centerline while retaining the corrected saved starting point. Update the caption and pair the renderer with its RELEASE_MANIFEST.json entry.

Validation: nine focused checks pass. They include all eight A01 cubic controls against independent native-source reference values, all eight tangent joins, the offset straight, angular/mixed-type pieces in both connection orders, and the earlier start-coordinate and invalid-input regressions. References use native revision b90b8af06ffc4ea4e4fd703becd1107a48b8e5e0.

TiGa-RCE changed pull request status to merged

Sign up or log in to comment