mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-20 04:35:02 +01:00
Merge branch 'master' into feat/renderers-cleanup
This commit is contained in:
@@ -1186,7 +1186,7 @@ void roadpoint_node::hide()
|
||||
}
|
||||
|
||||
// radius() subclass details, calculates node's bounding radius
|
||||
float roadpoint_node::radius_()
|
||||
float roadpoint_node::radius_() const
|
||||
{
|
||||
return m_state.kind == kind_type::crossing ? m_state.clearance + 5.f : m_state.kind == kind_type::crosswalk ? static_cast<float>(m_halfwidth) + m_state.length : m_state.radius;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user