From 05ac2f527eb6e5a9f42b7cd8ac1bae588d05e3a5 Mon Sep 17 00:00:00 2001 From: Dave Schuyler Date: Fri, 11 Jul 2003 23:10:39 +0000 Subject: [PATCH] changed function name to reset_position --- panda/src/particlesystem/particleSystem.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/panda/src/particlesystem/particleSystem.cxx b/panda/src/particlesystem/particleSystem.cxx index a9083c721b..5d1a1ec3ad 100644 --- a/panda/src/particlesystem/particleSystem.cxx +++ b/panda/src/particlesystem/particleSystem.cxx @@ -187,7 +187,7 @@ birth_particle(void) { if (_local_velocity_flag == false) new_vel = new_vel * birth_to_render_xform; - bp->set_position_HandOfGod(world_pos/* + (NORMALIZED_RAND() * new_vel)*/); + bp->reset_position(world_pos/* + (NORMALIZED_RAND() * new_vel)*/); bp->set_velocity(new_vel); _living_particles++; @@ -204,7 +204,7 @@ birth_particle(void) { // Description : spawns a new batch of particles //////////////////////////////////////////////////////////////////// void ParticleSystem:: -birth_litter(void) { +birth_litter() { int litter_size, i; litter_size = _litter_size;