wip
This commit is contained in:
@@ -878,8 +878,8 @@ void AnnotatedCameraWidget::drawLaneLines(QPainter &painter, const UIState *s) {
|
||||
float lin_grad_point = (height() - scene.track_vertices[i].y()) / height();
|
||||
|
||||
QColor base_color = QColor::fromRgb(base_red, base_green, base_blue);
|
||||
float h, s, l;
|
||||
base_color.getHslF(&h, &s, &l);
|
||||
float _h, _s, _l;
|
||||
base_color.getHslF(&_h, &_s, &_l);
|
||||
|
||||
// Calculate saturation and lightness based on acceleration
|
||||
float adjusted_saturation = std::min(std::abs(acceleration[i] * 1.5f), 1.f);
|
||||
|
||||
Reference in New Issue
Block a user