scoreboard.cpp: modificada la easing function de desplaçament vertical a easeInOutSine
This commit is contained in:
1 parent
d851cdd2fe
commit
a29b4d4379
1 file changed
+1
-1
@@ -443,7 +443,7 @@ void Scoreboard::renderEnterNameMode(size_t panel_index) {
|
||||
|
||||
void Scoreboard::renderEnterToShowNameMode(size_t panel_index) {
|
||||
// Calcular progreso suavizado de la animación (0.0 a 1.0)
|
||||
const float t = static_cast<float>(easeOutCubic(text_slide_offset_.at(panel_index)));
|
||||
const float t = static_cast<float>(easeInOutSine(text_slide_offset_.at(panel_index)));
|
||||
|
||||
// Calcular desplazamientos reales entre slots (no son exactamente ROW_SIZE)
|
||||
const float delta_1_to_2 = slot4_2_.y - slot4_1_.y; // Diferencia real entre ROW1 y ROW2
|
||||
|
||||
Reference in new issue
Block a user