diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llcommon/llframetimer.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/linden/indra/llcommon/llframetimer.h b/linden/indra/llcommon/llframetimer.h index bc0d79d..11c4cfc 100644 --- a/linden/indra/llcommon/llframetimer.h +++ b/linden/indra/llcommon/llframetimer.h | |||
@@ -74,6 +74,9 @@ public: | |||
74 | 74 | ||
75 | static F32 getFrameDeltaTimeF32(); | 75 | static F32 getFrameDeltaTimeF32(); |
76 | 76 | ||
77 | // Return seconds since the current frame started | ||
78 | static F32 getCurrentFrameTime(); | ||
79 | |||
77 | // MANIPULATORS | 80 | // MANIPULATORS |
78 | void start(); | 81 | void start(); |
79 | void stop(); | 82 | void stop(); |
@@ -144,4 +147,7 @@ protected: | |||
144 | BOOL mStarted; | 147 | BOOL mStarted; |
145 | }; | 148 | }; |
146 | 149 | ||
150 | // Glue code for Havok (or anything else that doesn't want the full .h files) | ||
151 | extern F32 getCurrentFrameTime(); | ||
152 | |||
147 | #endif // LL_LLFRAMETIMER_H | 153 | #endif // LL_LLFRAMETIMER_H |