From 04075d6a4bb3085f16ad0b2d2b513c49dc8732c3 Mon Sep 17 00:00:00 2001 From: LaurentGom Date: Sun, 21 Nov 2010 09:33:45 +0000 Subject: [PATCH] Minor modifications to the Window::GetFrameTime() doc git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1690 4e206d99-4929-0410-ac5d-dfc041789085 --- include/SFML/Window/Window.hpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/SFML/Window/Window.hpp b/include/SFML/Window/Window.hpp index 7a92f4440..87bb7d11e 100644 --- a/include/SFML/Window/Window.hpp +++ b/include/SFML/Window/Window.hpp @@ -407,13 +407,14 @@ public : void SetFramerateLimit(unsigned int limit); //////////////////////////////////////////////////////////// - /// \brief Get the time elapsed since the last frame + /// \brief Get the duration of the last frame /// - /// This function returns the time elapsed during the last frame. + /// This function returns the time elapsed between the last + /// two calls to Display(). /// This can be useful for calculating the framerate, or for /// updating the application's objects. /// - /// \return Time elapsed, in seconds + /// \return Time elapsed in last frame, in seconds /// //////////////////////////////////////////////////////////// float GetFrameTime() const;