# HG changeset patch # User John Tsiombikas # Date 1411618998 -10800 # Node ID e4c5c9c0b6f61c926a1fe0d004203efce68437c2 # Parent b536bd21b37fde4d5363aa767e22a616829a70b4 added vr_get?_def functions which allow a default to be specified diff -r b536bd21b37f -r e4c5c9c0b6f6 .hgignore --- a/.hgignore Wed Sep 24 23:50:40 2014 +0300 +++ b/.hgignore Thu Sep 25 07:23:18 2014 +0300 @@ -1,16 +1,18 @@ -\.o$ -\.d$ -\.swp$ -\.so$ -\.so\. -\.a$ -^Makefile$ -\.dll$ -\.lib$ -\.obj$ -\.suo$ -\.sdf$ -\.opensdf$ -^Debug -^Release -^usr +\.o$ +\.d$ +\.swp$ +\.so$ +\.so\. +\.a$ +^Makefile$ +\.dll$ +\.lib$ +\.obj$ +\.suo$ +\.sdf$ +\.opensdf$ +^Debug +^Release +^usr +example/test$ +^config.status$ diff -r b536bd21b37f -r e4c5c9c0b6f6 Makefile.in --- a/Makefile.in Wed Sep 24 23:50:40 2014 +0300 +++ b/Makefile.in Thu Sep 25 07:23:18 2014 +0300 @@ -70,9 +70,7 @@ cp $(lib_a) $(DESTDIR)$(PREFIX)/lib/$(lib_a) cp $(lib_so) $(DESTDIR)$(PREFIX)/lib/$(lib_so) [ -n "$(soname)" ] && \ - cd $(DESTDIR)$(PREFIX)/lib && \ - ln -s $(lib_so) $(soname) && \ - ln -s $(soname) $(ldname) || \ + cp -d $(soname) $(ldname) $(DESTDIR)$(PREFIX)/lib || \ true .PHONY: uninstall diff -r b536bd21b37f -r e4c5c9c0b6f6 libgoatvr.def --- a/libgoatvr.def Wed Sep 24 23:50:40 2014 +0300 +++ b/libgoatvr.def Thu Sep 25 07:23:18 2014 +0300 @@ -1,30 +1,32 @@ -LIBRARY libgoatvr -EXPORTS - vr_init - vr_shutdown - - vr_module_count - vr_module_name - - vr_use_module - vr_use_module_named - - vr_seti - vr_setf - vr_geti - vr_getf - - vr_view_translation - vr_view_rotation - - vr_view_matrix - vr_proj_matrix - - vr_begin - vr_end - vr_swap_buffers - - vr_output_texture - vr_output_texture_eye - - vr_recenter \ No newline at end of file +LIBRARY libgoatvr +EXPORTS + vr_init + vr_shutdown + + vr_module_count + vr_module_name + + vr_use_module + vr_use_module_named + + vr_seti + vr_setf + vr_geti + vr_getf + vr_geti_def + vr_getf_def + + vr_view_translation + vr_view_rotation + + vr_view_matrix + vr_proj_matrix + + vr_begin + vr_end + vr_swap_buffers + + vr_output_texture + vr_output_texture_eye + + vr_recenter