Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

c:/home/kevn/src/animaniac/ani/Dynamics/operators/GravityOperator.h

Go to the documentation of this file.
00001 #ifndef GRAVITY_OPERATOR
00002 #define GRAVITY_OPERATOR
00003 
00004 #include <boost/smart_ptr.hpp>
00005 #include <gmtl/Vec.h>
00006 #include "ani/Dynamics/Operator.h"
00007 #include "ani/Dynamics/DynamicSystem.h"
00008 #include <ani/Dynamics/operators/AccelerationOperator.h>
00009 
00010 namespace ani
00011 {
00013    template<class __EntityType>
00014    class GravityOperator : public AccelerationOperator<__EntityType>
00015    {
00016    public:
00017       GravityOperator() : Acceleration<__EntityType>( 0.0f, -9.8195f, 0.0f ) {}
00018       virtual ~GravityOperator(){}
00019    };
00020 } // end of namespace
00021 
00022 #endif

Generated on Wed Jun 12 01:54:01 2002 for Animaniac by doxygen1.2.15