Method | Description | |
---|---|---|
add_quats ( float q1, float q2, float &dest ) : void | ||
axis_to_quat ( float a, float phi, float &q ) : void | ||
build_rotmatrix ( float &m, float q ) : void | ||
trackball ( float &q, float p1x, float p1y, float p2x, float p2y ) : void |
Method | Description | |
---|---|---|
normalize_quat ( float &q ) : void | ||
tb_project_to_sphere ( float r, float x, float y ) : float | ||
vadd ( float src1, float src2, float &dst ) : void | ||
vcopy ( float v1, float &v2 ) : void | ||
vcross ( float v1, float v2, float &cross ) : void | ||
vdot ( float v1, float v2 ) : float | ||
vlength ( float v ) : float | ||
vnormal ( float &v ) : void | ||
vscale ( float &v, float div ) : void | ||
vset ( float &v, float x, float y, float z ) : void | ||
vsub ( float src1, float src2, float &dst ) : void | ||
vzero ( float &v ) : void |
public add_quats ( float q1, float q2, float &dest ) : void | ||
q1 | float | |
q2 | float | |
dest | float | |
return | void |
public axis_to_quat ( float a, float phi, float &q ) : void | ||
a | float | |
phi | float | |
q | float | |
return | void |
public build_rotmatrix ( float &m, float q ) : void | ||
m | float | |
q | float | |
return | void |
public trackball ( float &q, float p1x, float p1y, float p2x, float p2y ) : void | ||
q | float | |
p1x | float | |
p1y | float | |
p2x | float | |
p2y | float | |
return | void |