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

panda/src/physics/linearVectorForce.I

Go to the documentation of this file.
00001 // Filename: linearVectorForce.I
00002 // Created by:  charles (21Jun00)
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 ////////////////////////////////////////////////////////////////////
00020 //    Function : set_vector
00021 //      Access : Public
00022 // Description : encapsulating wrapper
00023 ////////////////////////////////////////////////////////////////////
00024 INLINE void LinearVectorForce::
00025 set_vector(const LVector3f& v) {
00026   _fvec = v;
00027 }
00028 
00029 ////////////////////////////////////////////////////////////////////
00030 //    Function : set_vector
00031 //      Access : Public
00032 // Description : piecewise encapsulating wrapper
00033 ////////////////////////////////////////////////////////////////////
00034 INLINE void LinearVectorForce::
00035 set_vector(float x, float y, float z) {
00036   _fvec.set(x, y, z);
00037 }
00038 
00039 ////////////////////////////////////////////////////////////////////
00040 //    Function : get_local_vector
00041 //      Access : Public
00042 // Description :
00043 ////////////////////////////////////////////////////////////////////
00044 INLINE LVector3f LinearVectorForce::
00045 get_local_vector(void) const {
00046   return _fvec;
00047 }

Generated on Fri May 2 00:43:01 2003 for Panda by doxygen1.3