HOG2
Functions
Trackball.h File Reference
This graph shows which files directly or indirectly include this file:

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)
 

Function Documentation

◆ addToRotationTrackball()

void addToRotationTrackball ( float *  dA,
float *  A 
)

Definition at line 168 of file Trackball.cpp.

References kRad2Deg, and rotation2Quat().

Referenced by if(), and mouseMovedNoButton().

◆ rollToTrackball()

void rollToTrackball ( long  x,
long  y,
float  rot[4] 
)

◆ startTrackball()

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().