50 lines
1.7 KiB
Plaintext
50 lines
1.7 KiB
Plaintext
// Filename: orientedParticleFactory.I
|
|
// Created by: charles (16Aug00)
|
|
//
|
|
////////////////////////////////////////////////////////////////////
|
|
//
|
|
// 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_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() const {
|
|
return _initial_orientation;
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function : get_final_orientation
|
|
// Access : public
|
|
////////////////////////////////////////////////////////////////////
|
|
LOrientationf OrientedParticleFactory::
|
|
get_final_orientation() const {
|
|
return _final_orientation;
|
|
}
|