oculus1
diff src/vr_impl.h @ 12:d797639e0234
moving on to the distortion... not correct yet
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 20 Sep 2013 10:14:29 +0300 |
parents | b069a5c27388 |
children | 464e1d135d68 |
line diff
1.1 --- a/src/vr_impl.h Fri Sep 20 07:00:18 2013 +0300 1.2 +++ b/src/vr_impl.h Fri Sep 20 10:14:29 2013 +0300 1.3 @@ -19,9 +19,13 @@ 1.4 float aspect; 1.5 float ipd; 1.6 float distort[4]; 1.7 + // the right lens center offset (negate for left) 1.8 + float lens_center; 1.9 } info; 1.10 }; 1.11 1.12 extern VRContext vr_ctx; 1.13 1.14 +bool vr_gl_init(); 1.15 + 1.16 #endif // VR_IMPL_H_