Bladeren bron

updated comments

Josh Wilson 19 jaren geleden
bovenliggende
commit
6208912868
1 gewijzigde bestanden met toevoegingen van 3 en 5 verwijderingen
  1. 3 5
      panda/src/particlesystem/particleSystemManager.cxx

+ 3 - 5
panda/src/particlesystem/particleSystemManager.cxx

@@ -130,11 +130,9 @@ do_particles(float dt) {
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 //    Function : do_particles
 //    Function : do_particles
 //      Access : public
 //      Access : public
-// Description : does an update and render for each ps in the list.
-//               this is probably the one you want to use.  Rendering
-//               is the expensive operation, and particles REALLY
-//               should at least be updated every frame, so nth_frame
-//               stepping applies only to rendering.
+// Description : does an update and an optional render for a specific
+//               ps.  Since rendering is the expensive operation, multiple
+//               updates could be applied before calling the final render.
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 void ParticleSystemManager::
 void ParticleSystemManager::
 do_particles(float dt, ParticleSystem *ps, bool do_render) {
 do_particles(float dt, ParticleSystem *ps, bool do_render) {