blob: a5488be4eb0cb8994c725dffd02d1178c812739d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
/**
* @file llviewertextureanim.h
* @brief LLViewerTextureAnim class header file
*
* Copyright (c) 2003-$CurrentYear$, Linden Research, Inc.
* $License$
*/
#ifndef LL_LLVIEWERTEXTUREANIM_H
#define LL_LLVIEWERTEXTUREANIM_H
#include "lltextureanim.h"
#include "llframetimer.h"
class LLViewerTextureAnim : public LLTextureAnim
{
public:
LLViewerTextureAnim();
virtual ~LLViewerTextureAnim();
/*virtual*/ void reset();
S32 animateTextures(F32 &off_s, F32 &off_t, F32 &scale_s, F32 &scale_t, F32 &rotate);
enum
{
TRANSLATE = 0x01 // Result code JUST for animateTextures
};
F32 mOffS;
F32 mOffT;
F32 mScaleS;
F32 mScaleT;
F32 mRot;
protected:
LLFrameTimer mTimer;
F64 mLastTime;
F32 mLastFrame;
};
#endif
|