41 lines
1.3 KiB
Plaintext
41 lines
1.3 KiB
Plaintext
// Filename: orientedParticleFactory.I
|
|
// Created by: charles (16Aug00)
|
|
//
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function : set_initial_orientation
|
|
// Access : public
|
|
////////////////////////////////////////////////////////////////////
|
|
void OrientedParticleFactory::
|
|
set_initial_orientation(const LOrientationf &o) {
|
|
_initial_orientation = o;
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function : set_final_orientation
|
|
// Access : public
|
|
////////////////////////////////////////////////////////////////////
|
|
void OrientedParticleFactory::
|
|
set_final_orientation(const LOrientationf &o) {
|
|
_final_orientation = o;
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function : get_initial_orientation
|
|
// Access : public
|
|
////////////////////////////////////////////////////////////////////
|
|
LOrientationf OrientedParticleFactory::
|
|
get_initial_orientation(void) const {
|
|
return _initial_orientation;
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function : get_final_orientation
|
|
// Access : public
|
|
////////////////////////////////////////////////////////////////////
|
|
LOrientationf OrientedParticleFactory::
|
|
get_final_orientation(void) const {
|
|
return _final_orientation;
|
|
}
|