Skip to content

Commit

Permalink
Fixed MatrixRain() Transition
Browse files Browse the repository at this point in the history
  • Loading branch information
dbambus committed Sep 13, 2024
1 parent 1f7449b commit e6fa426
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/Transitiontypes/Transition.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -927,8 +927,8 @@ uint16_t Transition::transitionMatrixRain() {
}
}
float progress = static_cast<float>(phase) / static_cast<float>(frames);
for (col = 0; col < usedUhrType->rowsWordMatrix(); col++) {
for (row = 0; row < usedUhrType->colsWordMatrix(); row++) {
for (col = 0; col < usedUhrType->colsWordMatrix(); col++) {
for (row = 0; row < usedUhrType->rowsWordMatrix(); row++) {
fadeColor =
fadeColor.LinearBlend(old[row][col], act[row][col], progress);
rainColor = rain[col].get(row);
Expand Down

0 comments on commit e6fa426

Please sign in to comment.