llcriticaldamp.h

Go to the documentation of this file.
00001 
00033 #ifndef LL_LLCRITICALDAMP_H
00034 #define LL_LLCRITICALDAMP_H
00035 
00036 #include <map>
00037 
00038 #include "llframetimer.h"
00039 
00040 class LLCriticalDamp 
00041 {
00042 public:
00043         LLCriticalDamp();
00044 
00045         // MANIPULATORS
00046         static void updateInterpolants();
00047 
00048         // ACCESSORS
00049         static F32 getInterpolant(const F32 time_constant, BOOL use_cache = TRUE);
00050 
00051 protected:      
00052         static LLFrameTimer sInternalTimer;     // frame timer for calculating deltas
00053 
00054         static std::map<F32, F32>       sInterpolants;
00055         static F32                                      sTimeDelta;
00056 };
00057 
00058 #endif  // LL_LLCRITICALDAMP_H

Generated on Thu Jul 1 06:08:23 2010 for Second Life Viewer by  doxygen 1.4.7