Skip to content

Commit

Permalink
ParticleSystem.h:
Browse files Browse the repository at this point in the history
* More windows warnings fixes.
  • Loading branch information
razterizer committed Oct 2, 2024
1 parent f2b2a45 commit a0612e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ParticleSystem.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ struct Particle
void draw(SpriteHandler<NR, NC>& sh, const std::string& str, Color fg_color, Color bg_color, float time) const
{
if (alive(time))
sh.write_buffer(str, std::round(pos_r), std::round(pos_c), fg_color, bg_color);
sh.write_buffer(str, math::roundI(pos_r), math::roundI(pos_c), fg_color, bg_color);
}
};

Expand Down

0 comments on commit a0612e4

Please sign in to comment.