atomes 1.1.16
atomes: an atomic scale modeling tool box
|
Mouse trackball rotation functions. More...
Go to the source code of this file.
Functions | |
void | rotate_quat (project *this_proj, vec4_t q, int status, int axis) |
rotate using quaternion | |
vec3_t | get_arc_ball_vector (glwin *view, int x, int y) |
void | arc_ball_rotation (glwin *view, int x, int y) |
Perform arcball rotation. | |
Variables | |
vec3_t | arc_ball_init |
vec3_t | arc_ball_new |
vec4_t | old_rotation_quaternion |
Mouse trackball rotation functions.
Definition in file arcball.c.
void arc_ball_rotation | ( | glwin * | view, |
int | x, | ||
int | y ) |
rotate using quaternion
this_proj | the target project |
q | rotation quaternion |
status | selection status, 0 = non selected atom(s), 1 = selected atom(s), 2 = all atom(s) |
axis | 0 = model, 1 = eye |
Definition at line 269 of file atom_move.c.