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

KX_OrientationInterpolator.h

Go to the documentation of this file.
00001 #ifndef KX_ORIENTATIONINTERPOLATOR
00002 #define KX_ORIENTATIONINTERPOLATOR
00003 
00004 #include "KX_IInterpolator.h"
00005 
00006 class MT_Matrix3x3;
00007 class KX_IScalarInterpolator;
00008 
00009 class KX_OrientationInterpolator : public KX_IInterpolator {
00010 public:
00011         KX_OrientationInterpolator(MT_Matrix3x3& target, 
00012                                                            KX_IScalarInterpolator **ipos)
00013                 : m_target(target) 

00014     {
00015                 m_ipos[0] = ipos[0]; 
00016                 m_ipos[1] = ipos[1]; 
00017                 m_ipos[2] = ipos[2];
00018         }
00019         
00020         virtual void Execute(float currentTime) const;
00021 
00022 private:
00023         MT_Matrix3x3&            m_target;
00024         KX_IScalarInterpolator *m_ipos[3];
00025 };
00026 
00027 #endif

Generated at Thu Feb 1 13:03:06 2001 for Ketsji Game Engine by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000