19 INLINE
void SparkleParticleRenderer::
20 set_center_color(
const LColor& c) {
28 INLINE
void SparkleParticleRenderer::
29 set_edge_color(
const LColor& c) {
37 INLINE
void SparkleParticleRenderer::
38 set_life_scale(SparkleParticleRenderer::SparkleParticleLifeScale ls) {
46 INLINE
void SparkleParticleRenderer::
47 set_birth_radius(PN_stdfloat radius) {
48 _birth_radius = radius;
55 INLINE
void SparkleParticleRenderer::
56 set_death_radius(PN_stdfloat radius) {
57 _death_radius = radius;
64 INLINE
const LColor& SparkleParticleRenderer::
65 get_center_color()
const {
73 INLINE
const LColor& SparkleParticleRenderer::
74 get_edge_color()
const {
82 INLINE SparkleParticleRenderer::SparkleParticleLifeScale SparkleParticleRenderer::
83 get_life_scale()
const {
91 INLINE PN_stdfloat SparkleParticleRenderer::
92 get_birth_radius()
const {
100 INLINE PN_stdfloat SparkleParticleRenderer::
101 get_death_radius()
const {
102 return _death_radius;
109 INLINE PN_stdfloat SparkleParticleRenderer::
111 if (_life_scale == SP_NO_SCALE)
112 return _birth_radius;
114 PN_stdfloat s_x = CUBIC_T(bp->get_parameterized_age());
115 return LERP(s_x, _birth_radius, _death_radius);
This is the base class for all three-component vectors and points.
An individual, physically-modelable particle abstract base class.