SFML community forums
General => Feature requests => Topic started by: aisman on April 20, 2008, 12:03:22 am
-
A additional faster Time elapse will be usefull.
-
Sorry, I don't understand. What do you want exactly ?
-
That is what I found in the online help:
The return is Time elased, in seconds (Seconds is maybe not fine enough).
float sf::Clock::GetElapsedTime ( ) const
Get the time elapsed since last reset.
Returns:
Time elapsed, in seconds
-
I still don't understand, sorry :|
-
I still don't understand, sorry :|
Oh dear, ;-)
It returns the elapsed time in seconds. I think milliseconds will be also a good idea.
However.
I can work with it. Not so important for me at the moment´.
-
It returns a float, not an integer. If you want milliseconds just multiply by 1000.
-
It returns a float, not an integer. If you want milliseconds just multiply by 1000.
Ok.
But an (internal) work with integer will be faster?
-
No.