4 typedef void (*TempFunc
)(double temp
, SDL_Color
*c
);
5 //x(t+dt) = x(t)+dt*v(t)
6 //vx(t+dt) = vx(t)*(1-fx*dt) +dt*a(t)
7 //when t <=0.0 particle dies
26 void SetParticleBoundingBox(double x
, double y
, double xx
, double yy
); // x,y - coords; xx,yy -- width, height; THIS FUNCTION SHOULD BE CALLED BEFORE USING PARTICLES
27 void AddParticle(Particle
*p
); //doesn't copy p, p will be freed automagically when it is not needed anymore
28 void UpdateAndQueueDrawParticles(double dt
);