Skip to content

Commit

Permalink
some core stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Unreal-Dan committed Dec 8, 2023
1 parent 7a8ac8d commit cf9d6a8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions VortexEngine/src/Patterns/Multi/MeteorPattern.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ void MeteorPattern::poststep()
{
for (uint8_t meteorCount = 0; meteorCount < (LED_COUNT / 2); ++meteorCount) {
// when a new meteor is created it is incerted into the stash so the blinking pattern is not interrupted
LedPos target = (LedPos)m_randCtx.next8(LED_FIRST, LED_LAST);
Pair target = (Pair)m_randCtx.next8(PAIR_FIRST, PAIR_LAST);
RGBColor col = m_colorset.getNext();
m_stash.setIndex(target, col);
m_stash.setIndex(pairEven(target), col);
m_stash.setIndex(pairOdd(target), col);
}
}

0 comments on commit cf9d6a8

Please sign in to comment.