1
General / SFML and Raw Mouse
« on: April 11, 2009, 04:18:04 pm »
ah, I get it now.. will have to try it out monday
thanks!
thanks!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
// When the WM_INPUT message is received, the lparam must be passed to this function
sf::Clock Clock;
while(true)
{
//do some stuff, break after 60 seconds
Sleep(1);
}
std::cout << Clock.GetElapsedTime() << std::endl;
sf::Clock Clock;
while(true)
{
//do some stuff, break after 60 seconds
//Sleep(1);
}
std::cout << Clock.GetElapsedTime() << std::endl;