MCPcopy Create free account
hub / github.com/comaps/comaps / SetColor

Method SetColor

libs/map/track.cpp:169–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167}
168
169void Track::SetColor(dp::Color color)
170{
171 m_isDirty = true;
172 m_data.m_layers[0].m_color.m_rgba = color.GetRGBA();
173}
174
175float Track::GetWidth(size_t layerIndex) const
176{

Callers 2

ShowUserPositionMethod · 0.45
ChangeTrackColorMethod · 0.45

Calls 1

GetRGBAMethod · 0.80

Tested by

no test coverage detected