49 lines
1.3 KiB
Plaintext
49 lines
1.3 KiB
Plaintext
// Filename: ringEmitter.I
|
|
// Created by: charles (26Jun00)
|
|
//
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function : set_radius
|
|
// Access : public
|
|
// Description : radius set
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
INLINE void RingEmitter::
|
|
set_radius(float r) {
|
|
_radius = r;
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function : set_angle
|
|
// Access : public
|
|
// Description : angle of elevation set
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
INLINE void RingEmitter::
|
|
set_angle(float angle) {
|
|
_aoe = angle;
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function : get_radius
|
|
// Access : public
|
|
// Description : radius get
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
INLINE float RingEmitter::
|
|
get_radius(void) const {
|
|
return _radius;
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function : get_angle
|
|
// Access : public
|
|
// Description : angle of elevation get
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
INLINE float RingEmitter::
|
|
get_angle(void) const {
|
|
return _aoe;
|
|
}
|