scoreboard.cpp: modificada la easing function de desplaçament vertical a easeInOutSine
This commit is contained in:
@@ -443,7 +443,7 @@ void Scoreboard::renderEnterNameMode(size_t panel_index) {
|
|||||||
|
|
||||||
void Scoreboard::renderEnterToShowNameMode(size_t panel_index) {
|
void Scoreboard::renderEnterToShowNameMode(size_t panel_index) {
|
||||||
// Calcular progreso suavizado de la animación (0.0 a 1.0)
|
// 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)
|
// 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
|
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