Sunday, November 7, 2010

ntParticleSystem - memory handling (cont'd)

It's probably faster and easier to maintain the code if there's a fixed size particle array allocated in memory and forces will only applied to living particles. I will discontinue following the approach with having a linked list to living particles, since this requires a lot of management whenever a new particle is born or dies.

No comments:

Post a Comment