Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #if defined(_WIN32)
- void wait( float seconds )
- {
- Sleep( (int) ( seconds * 1000.0f ) );
- }
- #else
- void wait( float seconds )
- {
- usleep( (int) ( seconds * 1000000.0f ) );
- }
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement