114 lines
3.6 KiB
Plaintext
114 lines
3.6 KiB
Plaintext
// Filename: baseParticleFactory.I
|
|
// Created by: charles (05Jul00)
|
|
//
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function : set_lifespan_base
|
|
// Description : public
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE void BaseParticleFactory::
|
|
set_lifespan_base(float lb) {
|
|
_lifespan_base = lb;
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function : set_lifespan_spread
|
|
// Description : public
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE void BaseParticleFactory::
|
|
set_lifespan_spread(float ld) {
|
|
_lifespan_spread = ld;
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function : set_mass_base
|
|
// Description : public
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE void BaseParticleFactory::
|
|
set_mass_base(float mb) {
|
|
_mass_base = mb;
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function : set_mass_spread
|
|
// Description : public
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE void BaseParticleFactory::
|
|
set_mass_spread(float md) {
|
|
_mass_spread = md;
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function : set_terminal_velocity_base
|
|
// Description : public
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE void BaseParticleFactory::
|
|
set_terminal_velocity_base(float tvb) {
|
|
_terminal_velocity_base = tvb;
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function : set_terminal_velocity_spread
|
|
// Description : public
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE void BaseParticleFactory::
|
|
set_terminal_velocity_spread(float tvd) {
|
|
_terminal_velocity_spread = tvd;
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function : get_lifespan_base
|
|
// Description : public
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE float BaseParticleFactory::
|
|
get_lifespan_base(void) const {
|
|
return _lifespan_base;
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function : get_lifespan_spread
|
|
// Description : public
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE float BaseParticleFactory::
|
|
get_lifespan_spread(void) const {
|
|
return _lifespan_spread;
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function : get_mass_base
|
|
// Description : public
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE float BaseParticleFactory::
|
|
get_mass_base(void) const {
|
|
return _mass_base;
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function : get_mass_spread
|
|
// Description : public
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE float BaseParticleFactory::
|
|
get_mass_spread(void) const {
|
|
return _mass_spread;
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function : get_terminal_velocity_base
|
|
// Description : public
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE float BaseParticleFactory::
|
|
get_terminal_velocity_base(void) const {
|
|
return _terminal_velocity_base;
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function : get_terminal_velocity_spread
|
|
// Description : public
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE float BaseParticleFactory::
|
|
get_terminal_velocity_spread(void) const {
|
|
return _terminal_velocity_spread;
|
|
}
|
|
|