Original Post
🔒 Locked
SDL problem
Advertisement
list<s_Particle> particleList;
list<s_Particle>::iterator i;
for(i=particleList.begin(); i!=particleList.end(); i++)
{
updateParticle( (*i) );
}
although if i were you (and i'm not...), i'd do this instead
list<s_Particle> particleList;
list<s_Particle>::iterator i;
for(i=particleList.begin(); i!=particleList.end(); i++)
{
(*i)->Update();
}
[edited by - leiavoia on June 10, 2004 8:12:22 PM]
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement