clang-format
This commit is contained in:
2025-07-23 20:55:50 +02:00
parent d33c1f5dc5
commit ec008ef5dd
61 changed files with 308 additions and 253 deletions
+6 -4
View File
@@ -1,10 +1,12 @@
#define _USE_MATH_DEFINES
#include "color.h"
#include <algorithm> // Para min, clamp
#include <cmath> // Para fmaxf, fminf, M_PI, fmodf, roundf, sin, abs
#include <stdexcept> // Para invalid_argument
#include <string> // Para basic_string, string
#include <stdint.h> // Para uint8_t
#include <cctype> // Para isxdigit
#include <cmath> // Para sinf, fmaxf, fminf, M_PI, fmodf, roundf, fmod
#include <stdexcept> // Para invalid_argument
#include <string> // Para basic_string, stoi, string
// Método estático para crear Color desde string hexadecimal
auto Color::fromHex(const std::string &hex_str) -> Color {