libgoatvr

diff src/vr.c @ 15:27fcd4c2969d

added VR_EYE_RES_SCALE option
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 25 Sep 2014 08:50:50 +0300
parents b536bd21b37f
children b2d902fff68d
line diff
     1.1 --- a/src/vr.c	Thu Sep 25 07:52:49 2014 +0300
     1.2 +++ b/src/vr.c	Thu Sep 25 08:50:50 2014 +0300
     1.3 @@ -36,6 +36,7 @@
     1.4  
     1.5  	/* create the default options database */
     1.6  	if(!defopt && (defopt = create_options())) {
     1.7 +		set_option_float(defopt, VR_EYE_RES_SCALE, 1.0);
     1.8  		set_option_float(defopt, VR_EYE_HEIGHT, 1.675);
     1.9  		set_option_float(defopt, VR_IPD, 0.064);
    1.10  	}