3dphotoshoot

diff src/game.h @ 24:2712c5da2e00

getting sensor input (hack)
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 16 Jun 2015 06:17:59 +0300
parents d7fe157c402d
children
line diff
     1.1 --- a/src/game.h	Sat Jun 13 05:35:43 2015 +0300
     1.2 +++ b/src/game.h	Tue Jun 16 06:17:59 2015 +0300
     1.3 @@ -17,6 +17,9 @@
     1.4  void game_mouse_button(int id, int bn, int press, int x, int y);
     1.5  void game_mouse_motion(int id, int x, int y);
     1.6  
     1.7 +void game_6dof_translation(float dx, float dy, float dz);
     1.8 +void game_6dof_rotation(float qx, float qy, float qz, float qw);
     1.9 +
    1.10  /* provided by the system frontend */
    1.11  void set_mouse_pos(int x, int y);
    1.12  void set_mouse_cursor(int enable);