mutter/examples
Neil Roberts dedee399d6 Rotate according to time not number of frames in the crate example
Previously the crate example incremented the angle of rotation of the
cube every frame so depending on the framerate the cube might rotate
too fast to see. This just changes it to calculate the rotation based
on the elapsed time using a GTimer. The rate that frames are drawn is
unaffected.

Reviewed-by: Robert Bragg <robert@linux.intel.com>
2011-10-17 13:57:29 +01:00
..
android/hello android: Update the hello example to the latest glib-android API change 2011-08-12 17:24:19 +01:00
cogl-crate.c Rotate according to time not number of frames in the crate example 2011-10-17 13:57:29 +01:00
cogl-hello.c examples: Allow installing of examples 2011-10-14 11:55:28 +01:00
cogl-x11-foreign.c examples: Allow installing of examples 2011-10-14 11:55:28 +01:00
cogl-x11-tfp.c examples: Allow installing of examples 2011-10-14 11:55:28 +01:00
cogland.c Adds an example cogl wayland compositor 2011-06-01 20:44:42 +01:00
crate.jpg Adds another example that draws a 3D crate 2011-06-30 14:33:11 +01:00
Makefile.am examples: Allow installing of examples 2011-10-14 11:55:28 +01:00