llviewertextureanim.h

Go to the documentation of this file.
00001 
00032 #ifndef LL_LLVIEWERTEXTUREANIM_H
00033 #define LL_LLVIEWERTEXTUREANIM_H
00034 
00035 #include "lltextureanim.h"
00036 #include "llframetimer.h"
00037 
00038 class LLViewerTextureAnim : public LLTextureAnim
00039 {
00040 public:
00041         LLViewerTextureAnim();
00042         virtual ~LLViewerTextureAnim();
00043 
00044         /*virtual*/ void reset();
00045 
00046         S32 animateTextures(F32 &off_s, F32 &off_t, F32 &scale_s, F32 &scale_t, F32 &rotate);
00047         enum
00048         {
00049                 TRANSLATE = 0x01 // Result code JUST for animateTextures
00050         };
00051 
00052         F32 mOffS;
00053         F32 mOffT;
00054         F32 mScaleS;
00055         F32 mScaleT;
00056         F32 mRot;
00057 
00058 protected:
00059         LLFrameTimer mTimer;
00060         F64 mLastTime;
00061         F32 mLastFrame;
00062 };
00063 #endif

Generated on Thu Jul 1 06:09:34 2010 for Second Life Viewer by  doxygen 1.4.7