Skip to content

Commit

Permalink
moved particle flags to seperate array to save on RAM, refactoring
Browse files Browse the repository at this point in the history
- moving the flags optimizes ram alignment, saving memory for each particle
- changed lots of parameters to `const`
- moved fire intensity to a variable instead of passing it to every render() call
- changed passing pointers to passing reference where possible
- saves a total of 340 bytes of flash
  • Loading branch information
DedeHai committed Jan 10, 2025
1 parent 5d0daa7 commit bcea39d
Show file tree
Hide file tree
Showing 3 changed files with 379 additions and 371 deletions.
Loading

0 comments on commit bcea39d

Please sign in to comment.