From 8d5f6037c7c327acbce0cee0e5a81a50c6930198 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Fri, 5 Apr 2013 15:46:48 +0200 Subject: [PATCH] Doc++ --- src/Timeline.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Timeline.h b/src/Timeline.h index a74efe154..807ce0672 100644 --- a/src/Timeline.h +++ b/src/Timeline.h @@ -57,10 +57,9 @@ performed, after everything is properly initialized. In your draw event implementation don't forget to call nextFrame() after buffer swap. You can use previousFrameDuration() to compute animation speed. -Example usage (in e.g. @ref Platform::GlutApplication "GlutApplication" -subclass): +Example usage: @code -MyApplication::MyApplication(...): Platform::GlutApplication(...) { +MyApplication::MyApplication(const Parameters& parameters): Platform::Application(parameters) { // Initialization ... timeline.setMinimalFrameTime(1/120.0f); // 120 FPS at max