blob: c7e75c565cdd10339d5025ff5ec9bc7407d8d191 (
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
|
/**
* @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
};
protected:
LLFrameTimer mTimer;
F64 mLastTime;
F32 mLastFrame;
};
#endif
|