Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

panda/src/physics/angularForce.cxx

Go to the documentation of this file.
00001 // Filename: angularForce.cxx
00002 // Created by:  charles (08Aug00)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) 2001, Disney Enterprises, Inc.  All rights reserved
00008 //
00009 // All use of this software is subject to the terms of the Panda 3d
00010 // Software license.  You should have received a copy of this license
00011 // along with this source code; you will also find a current copy of
00012 // the license at http://www.panda3d.org/license.txt .
00013 //
00014 // To contact the maintainers of this program write to
00015 // panda3d@yahoogroups.com .
00016 //
00017 ////////////////////////////////////////////////////////////////////
00018 
00019 #include "angularForce.h"
00020 
00021 TypeHandle AngularForce::_type_handle;
00022 
00023 ////////////////////////////////////////////////////////////////////
00024 //    Function : AngularForce
00025 //      Access : protected
00026 // Description : constructor
00027 ////////////////////////////////////////////////////////////////////
00028 AngularForce::
00029 AngularForce(void) :
00030   BaseForce() {
00031 }
00032 
00033 ////////////////////////////////////////////////////////////////////
00034 //    Function : AngularForce
00035 //      Access : protected
00036 // Description : copy constructor
00037 ////////////////////////////////////////////////////////////////////
00038 AngularForce::
00039 AngularForce(const AngularForce &copy) :
00040   BaseForce(copy) {
00041 }
00042 
00043 ////////////////////////////////////////////////////////////////////
00044 //    Function : ~AngularForce
00045 //      Access : public, virtual
00046 // Description : destructor
00047 ////////////////////////////////////////////////////////////////////
00048 AngularForce::
00049 ~AngularForce(void) {
00050 }
00051 
00052 ////////////////////////////////////////////////////////////////////
00053 //    Function : get_vector
00054 //      Access : public
00055 // Description : access query
00056 ////////////////////////////////////////////////////////////////////
00057 LVector3f AngularForce::
00058 get_vector(const PhysicsObject *po) {
00059   LVector3f v = get_child_vector(po);
00060   return v;
00061 }
00062 
00063 ////////////////////////////////////////////////////////////////////
00064 //    Function : is_linear
00065 //      Access : public
00066 // Description : access query
00067 ////////////////////////////////////////////////////////////////////
00068 bool AngularForce::
00069 is_linear(void) const {
00070   return false;
00071 }

Generated on Fri May 2 00:42:47 2003 for Panda by doxygen1.3