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:
@@ -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}
|
||||
|
||||
|
Reference in New Issue
Block a user