From 5122c2ccb4236fb5f384bc0258172b0aba776ef9 Mon Sep 17 00:00:00 2001 From: maj00r Date: Wed, 14 Oct 2026 00:03:06 +0200 Subject: [PATCH] fix(track): the treads of the wheels reach from the gauge line as far as a wheel 140 mm wide with the back faces 1360 mm apart does, 820 mm from the axis of a standard gauge track, instead of a flat 100 mm --- world/TrackRails.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/world/TrackRails.h b/world/TrackRails.h index 01362933..be54bb86 100644 --- a/world/TrackRails.h +++ b/world/TrackRails.h @@ -16,7 +16,9 @@ namespace track_rails { double constexpr flangeway { 0.045 }; double constexpr blend { 0.015 }; double constexpr tread_fade { 0.02 }; -double constexpr rolled_band { 0.1 }; +double constexpr wheel_width { 0.14 }; +double constexpr back_to_back { 1.36 }; +double constexpr rolled_band { wheel_width - ( 1.435 - back_to_back ) / 2.0 }; double constexpr nose_tip { 0.012 }; double constexpr middle_angle { 0.35 }; double constexpr wide_angle { 0.785 };