17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-01 10:22:09 +01:00

fix(track): obtuse crossings share the running surface too: the top of a rail crossed by the treads of the wheels of the other track takes the brighter texture between the gauge line of the other rail and the edge of its treads, so the boundary runs aslant on both sides

This commit is contained in:
maj00r
2026-10-13 23:22:31 +02:00
parent 90e80aa161
commit 1219dde073
2 changed files with 41 additions and 24 deletions

View File

@@ -400,6 +400,7 @@ public:
material_handle material { 0 };
int anchor { 0 };
std::vector<glm::dvec2> edge;
std::vector<glm::dvec2> gauge;
bool below { false };
};
struct rail_layout {