PDA

View Full Version : GetInterval()



dodu3784
May 4th, 2008, 06:39 PM
Hello evrybody,
Have a question about a function I am using with OpenGL (and wxwidgets).
I have the following function definition:


void Vue_OpenGL::OnTimer(wxTimerEvent& event)
{
position += event.GetInterval() / 15.0;
while (position > 360.0) position -= 360.0;
Refresh(false);
}

What does exactly GetInterval, does it return an int inialized at 360, is it a default value ?