41 lines
1.3 KiB
Plaintext
41 lines
1.3 KiB
Plaintext
// Filename: lineParticleRenderer.I
|
|
// Created by: darren (06Oct00)
|
|
//
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function : set_head_color
|
|
// Access : public
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE void LineParticleRenderer::
|
|
set_head_color(const Colorf& c) {
|
|
_head_color = c;
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function : set_tail_color
|
|
// Access : public
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE void LineParticleRenderer::
|
|
set_tail_color(const Colorf& c) {
|
|
_tail_color = c;
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function : get_head_color
|
|
// Access : public
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE const Colorf& LineParticleRenderer::
|
|
get_head_color(void) const {
|
|
return _head_color;
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function : get_tail_color
|
|
// Access : public
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE const Colorf& LineParticleRenderer::
|
|
get_tail_color(void) const {
|
|
return _tail_color;
|
|
}
|