|
|
Version: 2.1 Posted: 2009-10-02 Build Requirements: iPhone SDK 3.1 and later Runtime Requirements: iPhone OS 3.1 and later Download Sample Code (GLGravity.zip, 58.5K) |
||||||
DescriptionThe GLGravity sample application demonstrates how to use the UIAccelerometer class in combination with OpenGL rendering. It shows how to extract the gravity vector from the accelerometer values using a basic low-pass filter, and how to build an OpenGL transformation matrix from it. Document Revision History
|