HOG2
|
Go to the source code of this file.
Functions | |
void | startTrackball (long x, long y, long originX, long originY, long width, long height) |
void | rollToTrackball (long x, long y, float rot[4]) |
void | addToRotationTrackball (float *dA, float *A) |
void addToRotationTrackball | ( | float * | dA, |
float * | A | ||
) |
Definition at line 168 of file Trackball.cpp.
References kRad2Deg, and rotation2Quat().
Referenced by if(), and mouseMovedNoButton().
void rollToTrackball | ( | long | x, |
long | y, | ||
float | rot[4] | ||
) |
Definition at line 104 of file Trackball.cpp.
References gEndPtTrackball, gRadiusTrackball, gStartPtTrackball, gXCenterTrackball, gYCenterTrackball, kRad2Deg, and kTol.
Referenced by mouseMovedButton().
void startTrackball | ( | long | x, |
long | y, | ||
long | originX, | ||
long | originY, | ||
long | width, | ||
long | height | ||
) |
Definition at line 62 of file Trackball.cpp.
References gRadiusTrackball, gStartPtTrackball, gXCenterTrackball, gYCenterTrackball, height, and width.
Referenced by if().