clang-tidy modernize
This commit is contained in:
@@ -451,9 +451,9 @@ void Credits::cycleColors() {
|
||||
constexpr int UPPER_LIMIT = 140; // Límite superior
|
||||
constexpr int LOWER_LIMIT = 30; // Límite inferior
|
||||
|
||||
static float r_ = static_cast<float>(UPPER_LIMIT);
|
||||
static float g_ = static_cast<float>(LOWER_LIMIT);
|
||||
static float b_ = static_cast<float>(LOWER_LIMIT);
|
||||
static auto r_ = static_cast<float>(UPPER_LIMIT);
|
||||
static auto g_ = static_cast<float>(LOWER_LIMIT);
|
||||
static auto b_ = static_cast<float>(LOWER_LIMIT);
|
||||
static float step_r_ = -0.5f; // Paso flotante para transiciones suaves
|
||||
static float step_g_ = 0.3f;
|
||||
static float step_b_ = 0.1f;
|
||||
|
||||
Reference in New Issue
Block a user