refactor(enemies): renombra QUADRAT/MOLINILLO a SQUARE/PINWHEEL
This commit is contained in:
1 parent
6210985548
commit
e5e3729215
13 files changed
+200
-200
No files matched your search
@@ -242,12 +242,12 @@ namespace Graphics {
|
||||
|
||||
// Calcular posición de l'esquina superior izquierda
|
||||
// restant la meitat de las dimensions del point central
|
||||
Vec2 posicio_esquerra = {
|
||||
Vec2 top_left_position = {
|
||||
.x = centre_punt.x - (text_width / 2.0F),
|
||||
.y = centre_punt.y - (text_height / 2.0F)};
|
||||
|
||||
// Delegar al método render() existent
|
||||
render(text, posicio_esquerra, scale, spacing, brightness, color);
|
||||
render(text, top_left_position, scale, spacing, brightness, color);
|
||||
}
|
||||
|
||||
auto VectorText::getTextWidth(const std::string& text, float scale, float spacing) -> float {
|
||||
|
||||
Reference in new issue
Block a user