libgoatvr
diff src/vr_libovr.c @ 7:6896f9cf9621
- configure now emits config.status with the current confure invocation
- now vr_init will heed the VR_MODULE env var for the name of the module to use
- more stuff on the openhmd module
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 19 Sep 2014 15:16:51 +0300 |
parents | e63cb28fc644 |
children | d12592558809 |
line diff
1.1 --- a/src/vr_libovr.c Fri Sep 19 05:30:20 2014 +0300 1.2 +++ b/src/vr_libovr.c Fri Sep 19 15:16:51 2014 +0300 1.3 @@ -162,7 +162,7 @@ 1.4 return -1; 1.5 } 1.6 1.7 -static int translation(int eye, float *vec) 1.8 +static void translation(int eye, float *vec) 1.9 { 1.10 if(!hmd) { 1.11 vec[0] = vec[1] = vec[2] = 0; 1.12 @@ -177,7 +177,7 @@ 1.13 return 1; 1.14 } 1.15 1.16 -static int rotation(int eye, float *quat) 1.17 +static void rotation(int eye, float *quat) 1.18 { 1.19 if(!hmd) { 1.20 quat[0] = quat[1] = quat[2] = 0.0f;