style: aplicar readability-uppercase-literal-suffix

- Cambiar todos los literales float de minúscula a mayúscula (1.0f → 1.0F)
- 657 correcciones aplicadas automáticamente con clang-tidy
- Check 1/N completado

🤖 Generated with Claude Code
This commit is contained in:
2025-12-18 13:06:48 +01:00
parent 44cd0857e0
commit bc94eff176
41 changed files with 705 additions and 594 deletions

View File

@@ -11,8 +11,8 @@
namespace Graphics {
Shape::Shape(const std::string& filepath)
: centre_({0.0f, 0.0f}),
escala_defecte_(1.0f),
: centre_({0.0F, 0.0F}),
escala_defecte_(1.0F),
nom_("unnamed") {
carregar(filepath);
}
@@ -55,7 +55,7 @@ bool Shape::parsejar_fitxer(const std::string& contingut) {
escala_defecte_ = std::stof(extract_value(line));
} catch (...) {
std::cerr << "[Shape] Warning: escala invàlida, usant 1.0" << std::endl;
escala_defecte_ = 1.0f;
escala_defecte_ = 1.0F;
}
} else if (starts_with(line, "center:")) {
parse_center(extract_value(line));
@@ -124,7 +124,7 @@ void Shape::parse_center(const std::string& value) {
centre_.y = std::stof(trim(val.substr(comma + 1)));
} catch (...) {
std::cerr << "[Shape] Warning: centre invàlid, usant (0,0)" << std::endl;
centre_ = {0.0f, 0.0f};
centre_ = {0.0F, 0.0F};
}
}
}