Mac OS X Reference Library Apple Developer Connection spyglass button

Version: 1.0

Posted: 2003-04-21

Build Requirements: N/A

Runtime Requirements: Mac OS X ProjectBuilder, Mac OS X 10.2 or later.

View Source Code:

Download Sample Code (“CubePuzzle.zip”, 40.2K)



Description

This application models a Rubik's Cube using Cocoa and OpenGL. Features: + Keyboard manipulation of each cube face and of each cube axis. + Mouse manipulation of the camera. + Undo/Redo support. + Built in cube solver. + Asynchronous animation via NSTimers. + Multiple windows can be opened to view the cube from different angles. Comments and bugs are welcome at: <http://developer.apple.com/bugreporter> Requirements: ProjectBuilder, Mac OS X 10.2 or later. Keywords: OpenGL, cocoa, undo, rubiks cube, asynchronous

Document Revision History

Date Notes
2003-04-21Models a Rubik's Cube using Cocoa and OpenGL
Did this document help you? Yes It's good, but... Not helpful...