59 lines
1.7 KiB
Plaintext
59 lines
1.7 KiB
Plaintext
// Filename: LinearCylinderVortexForce.I
|
|
// Created by: charles (24Jul00)
|
|
//
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function : set_radius
|
|
// Access : public
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE void LinearCylinderVortexForce::
|
|
set_radius(float radius) {
|
|
_radius = radius;
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function : set_length
|
|
// Access : public
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE void LinearCylinderVortexForce::
|
|
set_length(float length) {
|
|
_length = length;
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function : set_coef
|
|
// Access : public
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE void LinearCylinderVortexForce::
|
|
set_coef(float coef) {
|
|
_coef = coef;
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function : get_radius
|
|
// Access : public
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE float LinearCylinderVortexForce::
|
|
get_radius(void) const {
|
|
return _radius;
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function : get_length
|
|
// Access : public
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE float LinearCylinderVortexForce::
|
|
get_length(void) const {
|
|
return _length;
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function : get_coef
|
|
// Access : public
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE float LinearCylinderVortexForce::
|
|
get_coef(void) const {
|
|
return _coef;
|
|
}
|