// Filename: lineParticleRenderer.I // Created by: darren (06Oct00) // //////////////////////////////////////////////////////////////////// // // PANDA 3D SOFTWARE // Copyright (c) Carnegie Mellon University. All rights reserved. // // All use of this software is subject to the terms of the revised BSD // license. You should have received a copy of this license along // with this source code in a file named "LICENSE." // //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // 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() const { return _head_color; } //////////////////////////////////////////////////////////////////// // Function : get_tail_color // Access : public //////////////////////////////////////////////////////////////////// INLINE const Colorf& LineParticleRenderer:: get_tail_color() const { return _tail_color; } //////////////////////////////////////////////////////////////////// // Function : set_line_scale_factor // Description : accessor //////////////////////////////////////////////////////////////////// INLINE void LineParticleRenderer:: set_line_scale_factor(float sf) { _line_scale_factor = sf; } //////////////////////////////////////////////////////////////////// // Function : get_line_scale_factor // Description : accessor //////////////////////////////////////////////////////////////////// INLINE float LineParticleRenderer:: get_line_scale_factor() const { return _line_scale_factor; }