mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
changed function name to reset_position
This commit is contained in:
parent
974c0d1ff6
commit
05ac2f527e
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user