Merge branch 'master' into sample-simpleopengl-minor-improvements

This commit is contained in:
Kim Kulling
2020-04-16 08:30:30 +02:00
committed by GitHub
102 changed files with 4690 additions and 1898 deletions

View File

@@ -278,7 +278,7 @@ void do_motion (void)
static int frames = 0;
int time = glutGet(GLUT_ELAPSED_TIME);
angle += (float)((time-prev_time)*0.01);
angle += static_cast<float>((time-prev_time)*0.01);
prev_time = time;
frames += 1;