Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

sfml delta time

//restart() returns the passed time.
sf::Clock deltaClock;
sf::Time dt = deltaClock.restart();
Source by en.sfml-dev.org #
 
PREVIOUS NEXT
Tagged: #sfml #delta #time
ADD COMMENT
Topic
Name
3+7 =