GUI: make several things rate-independent
This commit is contained in:
parent
1957c19f34
commit
e133fb4906
3 changed files with 15 additions and 12 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue