GUI: make several things rate-independent

This commit is contained in:
tildearrow 2022-03-02 00:38:32 -05:00
parent 1957c19f34
commit e133fb4906
3 changed files with 15 additions and 12 deletions

View file

@ -391,7 +391,7 @@ struct Particle {
const char* type;
ImVec2 pos, speed;
float gravity, friction, life, lifeSpeed;
bool update();
bool update(float frameTime);
Particle(ImU32* color, const char* ty, float x, float y, float sX, float sY, float g, float fr, float l, float lS):
colors(color),
type(ty),