mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-17 07:29:20 +02:00
fix(editor): ground lookups sorted once instead of walking every terrain model, orthophoto kept under the roads; feat(roads): junction sides, stop lines and junction options
This commit is contained in:
@@ -300,6 +300,10 @@ void dress(junction_node::state &Junction, road_node::state const &Road)
|
||||
Junction.surface = Road.surface;
|
||||
Junction.texturelength = Road.texturelength;
|
||||
Junction.markings = Road.markings;
|
||||
// one kind of side goes around the whole junction; the right side of the road is the one facing the corner a road leaves by
|
||||
Junction.side = (Road.sides[1].type != road_node::side_type::none ? Road.sides[1] : Road.sides[0]);
|
||||
Junction.kerbheight = Road.kerbheight;
|
||||
Junction.slope = Road.slope;
|
||||
Junction.friction = Road.friction;
|
||||
Junction.sounddistance = Road.sounddistance;
|
||||
Junction.quality = Road.quality;
|
||||
|
||||
Reference in New Issue
Block a user