mirror of
https://github.com/fltk/fltk.git
synced 2026-05-28 03:15:21 +08:00
glpuzzle: smoother animation at 72fps
This commit is contained in:
+1
-1
@@ -1125,7 +1125,7 @@ static float lastquat[4];
|
|||||||
static int sel_piece;
|
static int sel_piece;
|
||||||
static int timer_active = 0; // restart another rimer at the end of `animate`
|
static int timer_active = 0; // restart another rimer at the end of `animate`
|
||||||
static int timer_pending = 0; // a timer is waiting to be triggered
|
static int timer_pending = 0; // a timer is waiting to be triggered
|
||||||
static int timer_delay = 20; // timeout in msec (20ms = 50 frames per second)
|
static int timer_delay = 13; // timeout in msec (13ms = 72 frames per second)
|
||||||
|
|
||||||
static void
|
static void
|
||||||
Reshape(int width, int height)
|
Reshape(int width, int height)
|
||||||
|
|||||||
Reference in New Issue
Block a user