oculus1
diff src/main.cc @ 11:39ec672a5158
added simple head model to the VR camera
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 20 Sep 2013 07:00:18 +0300 |
parents | b2abb08c8f94 |
children | d797639e0234 |
line diff
1.1 --- a/src/main.cc Fri Sep 20 06:49:39 2013 +0300 1.2 +++ b/src/main.cc Fri Sep 20 07:00:18 2013 +0300 1.3 @@ -73,7 +73,8 @@ 1.4 glEnable(GL_LIGHT0); 1.5 glEnable(GL_LIGHTING); 1.6 1.7 - cam.input_move(0, 1.75, 0); 1.8 + // y = height of neck 1.9 + cam.input_move(0, 1.65, 0); 1.10 1.11 if(vr_init(VR_INIT_OCULUS) == -1) { 1.12 return false;