Panda3D

orientedParticleFactory.I

00001 // Filename: orientedParticleFactory.I
00002 // Created by:  charles (16Aug00)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) Carnegie Mellon University.  All rights reserved.
00008 //
00009 // All use of this software is subject to the terms of the revised BSD
00010 // license.  You should have received a copy of this license along
00011 // with this source code in a file named "LICENSE."
00012 //
00013 ////////////////////////////////////////////////////////////////////
00014 
00015 ////////////////////////////////////////////////////////////////////
00016 // Function : set_initial_orientation
00017 //   Access : public
00018 ////////////////////////////////////////////////////////////////////
00019 void OrientedParticleFactory::
00020 set_initial_orientation(const LOrientation &o) {
00021   _initial_orientation = o;
00022 }
00023 
00024 ////////////////////////////////////////////////////////////////////
00025 // Function : set_final_orientation
00026 //   Access : public
00027 ////////////////////////////////////////////////////////////////////
00028 void OrientedParticleFactory::
00029 set_final_orientation(const LOrientation &o) {
00030   _final_orientation = o;
00031 }
00032 
00033 ////////////////////////////////////////////////////////////////////
00034 // Function : get_initial_orientation
00035 //   Access : public
00036 ////////////////////////////////////////////////////////////////////
00037 LOrientation OrientedParticleFactory::
00038 get_initial_orientation() const {
00039   return _initial_orientation;
00040 }
00041 
00042 ////////////////////////////////////////////////////////////////////
00043 // Function : get_final_orientation
00044 //   Access : public
00045 ////////////////////////////////////////////////////////////////////
00046 LOrientation OrientedParticleFactory::
00047 get_final_orientation() const {
00048   return _final_orientation;
00049 }
 All Classes Functions Variables Enumerations