oculus1

diff src/vr.h @ 3:b069a5c27388

added a couple more stuff, fixed all the LibOVR line endings
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 15 Sep 2013 04:10:05 +0300
parents e2f9e4603129
children d797639e0234
line diff
     1.1 --- a/src/vr.h	Sat Sep 14 17:51:03 2013 +0300
     1.2 +++ b/src/vr.h	Sun Sep 15 04:10:05 2013 +0300
     1.3 @@ -22,10 +22,7 @@
     1.4  int vr_init(enum vr_init_mode mode);
     1.5  void vr_shutdown(void);
     1.6  
     1.7 -void vr_set_fov(float fov);
     1.8  float vr_get_fov(void);
     1.9 -
    1.10 -void vr_set_aspect(float aspect);
    1.11  float vr_get_aspect(void);
    1.12  
    1.13  void vr_set_eyedist(float ipd);
    1.14 @@ -37,6 +34,9 @@
    1.15  void vr_set_distort(const float *coef);
    1.16  void vr_get_distort(float *coef);
    1.17  
    1.18 +void vr_set_prediction_sec(float dt);
    1.19 +float vr_get_prediction_sec(void);
    1.20 +
    1.21  void vr_get_view_matrix(float *res, int eye);
    1.22  void vr_get_proj_matrix(float *res, int eye);
    1.23