Tachyon (current)
Current Main Branch
|
Go to the source code of this file.
Data Structures | |
struct | sbHandle |
Functions | |
void * | tachyon_init_spaceball (SceneHandle scene, void *glwin, char *port) |
int | tachyon_spaceball_update (sbHandle *bh, SceneHandle scene) |
void* tachyon_init_spaceball | ( | SceneHandle | scene, |
void * | glwin, | ||
char * | port | ||
) |
Definition at line 28 of file spaceball.c.
References sbHandle::camcent, sbHandle::camupvec, sbHandle::camviewvec, sbHandle::curquat, sbHandle::glwin, sbHandle::lastquat, sbHandle::orig_camcent, sbHandle::orig_camrightvec, sbHandle::orig_camupvec, sbHandle::orig_camviewvec, rt_get_camera_position(), and trackball().
Referenced by fly_scene().
int tachyon_spaceball_update | ( | sbHandle * | bh, |
SceneHandle | scene | ||
) |
Definition at line 60 of file spaceball.c.
References add_quats(), axis_to_quat(), build_rotmatrix(), sbHandle::buttondown, sbHandle::camcent, sbHandle::camupvec, sbHandle::camviewvec, sbHandle::curquat, sbHandle::curtrans, sbHandle::glwin, glwin_get_spaceball(), sbHandle::lastquat, sbHandle::newtrans, sbHandle::orig_camcent, sbHandle::orig_camrightvec, sbHandle::orig_camupvec, sbHandle::orig_camviewvec, RT_ACCUMULATE_CLEAR, rt_accumulation_mode(), rt_camera_position(), trackball(), apivector::x, apivector::y, and apivector::z.
Referenced by fly_scene().