conworlds
diff src/game.cc @ 3:a797e426e309
minor changes
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Tue, 19 Aug 2014 11:01:04 +0300 |
parents | 879194e4b1f0 |
children | e6948e131526 |
line diff
1.1 --- a/src/game.cc Fri Apr 25 05:44:09 2014 +0300 1.2 +++ b/src/game.cc Tue Aug 19 11:01:04 2014 +0300 1.3 @@ -134,6 +134,11 @@ 1.4 } 1.5 } 1.6 1.7 +void game_mwheel(int dir) 1.8 +{ 1.9 + cam.input_move(0, dir * 0.1, 0); 1.10 +} 1.11 + 1.12 void game_6dof_move(float x, float y, float z) 1.13 { 1.14 cam.input_move(x, y, z);