| 
    KiCad PCB EDA Suite
    
   | 
 
Go to the source code of this file.
Functions | |
| void | trackball (double q[4], double p1x, double p1y, double p2x, double p2y) | 
| void | add_quats (double *q1, double *q2, double *dest) | 
| void | build_rotmatrix (float m[4][4], double q[4]) | 
| void | axis_to_quat (double a[3], double phi, double q[4]) | 
| void add_quats | ( | double * | q1, | 
| double * | q2, | ||
| double * | dest ) | 
| void axis_to_quat | ( | double | a[3], | 
| double | phi, | ||
| double | q[4] ) | 
Definition at line 217 of file trackball.cpp.
References vcopy(), vnormal(), and vscale().
Referenced by trackball().
| void build_rotmatrix | ( | float | m[4][4], | 
| double | q[4] ) | 
Definition at line 321 of file trackball.cpp.
Referenced by TRACK_BALL::Drag(), and TRACK_BALL::Interpolate().
| void trackball | ( | double | q[4], | 
| double | p1x, | ||
| double | p1y, | ||
| double | p2x, | ||
| double | p2y ) | 
Definition at line 166 of file trackball.cpp.
References axis_to_quat(), tb_project_to_sphere(), TRACKBALLSIZE, vcross(), vlength(), vset(), vsub(), and vzero().
Referenced by TRACK_BALL::Drag(), TRACK_BALL::initQuat(), and TRACK_BALL::Reset_T1().