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
This commit is contained in:
parent
7a31d223ef
commit
04075d6a4b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user