![]() |
Recast Navigation
Navigation-mesh Toolset for Games
|
A helper to first start a timer and then stop it when this helper goes out of scope. More...
#include <Recast.h>
Public Member Functions | |
| rcScopedTimer (rcContext *ctx, const rcTimerLabel label) | |
| Constructs an instance and starts the timer. | |
| ~rcScopedTimer () | |
A helper to first start a timer and then stop it when this helper goes out of scope.
|
inline |
Constructs an instance and starts the timer.
| [in] | ctx | The context to use. |
| [in] | label | The category of the timer. |
|
inline |