dedee399d6
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> |
||
---|---|---|
.. | ||
android/hello | ||
cogl-crate.c | ||
cogl-hello.c | ||
cogl-x11-foreign.c | ||
cogl-x11-tfp.c | ||
cogland.c | ||
crate.jpg | ||
Makefile.am |