51 trackball(
float q[4],
float p1x,
float p1y,
float p2x,
float p2y);
62 add_quats(
float *q1,
float *q2,
float *dest);
81 float oldx,
float oldy,
82 float newx,
float newy,
86 float oldx,
float oldy,
87 float newx,
float newy,
88 float width,
float height);
91 float oldx,
float oldy,
92 float newx,
float newy,
93 float width,
float height);
int trackball_pan(Pointf *zoom, float oldx, float oldy, float newx, float newy, float width, float height)
Definition: trackball.c:341
void add_quats(float *q1, float *q2, float *dest)
float zoom
Definition: tst_gui_gl2.c:74
void trackball(float q[4], float p1x, float p1y, float p2x, float p2y)
Definition: trackball.c:172
void axis_to_quat(float a[3], float phi, float q[4])
Definition: trackball.c:220
Pointf cenPt
Definition: tst_gui_gl2.c:76
float quat[4]
Definition: tst_gui_gl2.c:73
void build_rotmatrix(float m[4][4], float q[4])
Definition: trackball.c:316
int trackball_zoom(float *zoom, float oldx, float oldy, float newx, float newy, float width, float height)
Definition: trackball.c:385
int trackball_rot(float *quat, float oldx, float oldy, float newx, float newy, float width, float height, Pointf *cenPt)
Definition: trackball.c:431