Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
trackball.h
#ifndef __trackball_h__ |
#define __trackball_h__ |
#ifdef __cplusplus |
extern "C" { |
#endif |
void startTrackball (long x, long y, long originX, long originY, long width, long height); |
void rollToTrackball (long x, long y, float rot [4]); // rot is output rotation angle |
void addToRotationTrackball (float * dA, float * A); |
#ifdef __cplusplus |
} |
#endif |
#endif |
Copyright © 2004 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2004-03-26