Allow to use space to toggle spinning of the cube in OpenGL sample.

Small enhancement to the cube OpenGL sample.

Closes #11545.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2010-10-24 22:40:58 +00:00
parent 22993989b4
commit e4545e0183
3 changed files with 49 additions and 24 deletions

View File

@@ -682,9 +682,10 @@ commands through menu.
@sampleabout{wxGLCanvas}
@li @b cube Draws only a cube to demonstrate how to write a basic wxWidgets OpenGL program.
@li @b isosurf Draws a surface by reading coordinates from a dat file.
@li @b penguin Draws a rotatable penguin by reading data from a dxf file.
@li @b cube Draws a cube to demonstrate how to write a basic wxWidgets OpenGL program.
Arrow keys rotate the cube. Space bar toggles spinning.
@li @b isosurf Draws a surface by reading coordinates from a DAT file.
@li @b penguin Draws a rotatable penguin by reading data from a DXF file.
@sampledir{opengl}