std::vector<Particle>::reverse_iterator iter;
const float size_factor(1);
- float radius(size_factor*size*sqrt(1.0f/(abs(pw)*abs(ph))));
+ float radius(size_factor*size*sqrt(1.0f/(abs(pw)*abs(ph)))), temp_radius;
if(radius>1.0f)
{
int x1,y1,x2,y2;
for(iter=particle_list.rbegin();iter!=particle_list.rend();++iter)
{
- float radius(radius);
+ temp_radius = radius;
+ float radius(temp_radius);
Color color(iter->color);
if(size_as_alpha)
{
float a,b,c,d;
for(iter=particle_list.rbegin();iter!=particle_list.rend();++iter)
{
- float radius(radius);
+ temp_radius = radius;
+ float radius(temp_radius);
Color color(iter->color);
if(size_as_alpha)
{