libgoatvr

changeset 13:e4c5c9c0b6f6

added vr_get?_def functions which allow a default to be specified
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 25 Sep 2014 07:23:18 +0300
parents b536bd21b37f
children 604a9a0a8c37
files .hgignore Makefile.in libgoatvr.def
diffstat 3 files changed, 51 insertions(+), 49 deletions(-) [+]
line diff
     1.1 --- a/.hgignore	Wed Sep 24 23:50:40 2014 +0300
     1.2 +++ b/.hgignore	Thu Sep 25 07:23:18 2014 +0300
     1.3 @@ -1,16 +1,18 @@
     1.4 -\.o$
     1.5 -\.d$
     1.6 -\.swp$
     1.7 -\.so$
     1.8 -\.so\.
     1.9 -\.a$
    1.10 -^Makefile$
    1.11 -\.dll$
    1.12 -\.lib$
    1.13 -\.obj$
    1.14 -\.suo$
    1.15 -\.sdf$
    1.16 -\.opensdf$
    1.17 -^Debug
    1.18 -^Release
    1.19 -^usr
    1.20 +\.o$
    1.21 +\.d$
    1.22 +\.swp$
    1.23 +\.so$
    1.24 +\.so\.
    1.25 +\.a$
    1.26 +^Makefile$
    1.27 +\.dll$
    1.28 +\.lib$
    1.29 +\.obj$
    1.30 +\.suo$
    1.31 +\.sdf$
    1.32 +\.opensdf$
    1.33 +^Debug
    1.34 +^Release
    1.35 +^usr
    1.36 +example/test$
    1.37 +^config.status$
     2.1 --- a/Makefile.in	Wed Sep 24 23:50:40 2014 +0300
     2.2 +++ b/Makefile.in	Thu Sep 25 07:23:18 2014 +0300
     2.3 @@ -70,9 +70,7 @@
     2.4  	cp $(lib_a) $(DESTDIR)$(PREFIX)/lib/$(lib_a)
     2.5  	cp $(lib_so) $(DESTDIR)$(PREFIX)/lib/$(lib_so)
     2.6  	[ -n "$(soname)" ] && \
     2.7 -		cd $(DESTDIR)$(PREFIX)/lib && \
     2.8 -		ln -s $(lib_so) $(soname) && \
     2.9 -		ln -s $(soname) $(ldname) || \
    2.10 +		cp -d $(soname) $(ldname) $(DESTDIR)$(PREFIX)/lib || \
    2.11  		true
    2.12  
    2.13  .PHONY: uninstall
     3.1 --- a/libgoatvr.def	Wed Sep 24 23:50:40 2014 +0300
     3.2 +++ b/libgoatvr.def	Thu Sep 25 07:23:18 2014 +0300
     3.3 @@ -1,30 +1,32 @@
     3.4 -LIBRARY libgoatvr
     3.5 -EXPORTS
     3.6 -	vr_init
     3.7 -	vr_shutdown
     3.8 -
     3.9 -	vr_module_count
    3.10 -	vr_module_name
    3.11 -
    3.12 -	vr_use_module
    3.13 -	vr_use_module_named
    3.14 -
    3.15 -	vr_seti
    3.16 -	vr_setf
    3.17 -	vr_geti
    3.18 -	vr_getf
    3.19 -
    3.20 -	vr_view_translation
    3.21 -	vr_view_rotation
    3.22 -
    3.23 -	vr_view_matrix
    3.24 -	vr_proj_matrix
    3.25 -
    3.26 -	vr_begin
    3.27 -	vr_end
    3.28 -	vr_swap_buffers
    3.29 -
    3.30 -	vr_output_texture
    3.31 -	vr_output_texture_eye
    3.32 -
    3.33 -	vr_recenter
    3.34 \ No newline at end of file
    3.35 +LIBRARY libgoatvr
    3.36 +EXPORTS
    3.37 +	vr_init
    3.38 +	vr_shutdown
    3.39 +
    3.40 +	vr_module_count
    3.41 +	vr_module_name
    3.42 +
    3.43 +	vr_use_module
    3.44 +	vr_use_module_named
    3.45 +
    3.46 +	vr_seti
    3.47 +	vr_setf
    3.48 +	vr_geti
    3.49 +	vr_getf
    3.50 +	vr_geti_def
    3.51 +	vr_getf_def
    3.52 +
    3.53 +	vr_view_translation
    3.54 +	vr_view_rotation
    3.55 +
    3.56 +	vr_view_matrix
    3.57 +	vr_proj_matrix
    3.58 +
    3.59 +	vr_begin
    3.60 +	vr_end
    3.61 +	vr_swap_buffers
    3.62 +
    3.63 +	vr_output_texture
    3.64 +	vr_output_texture_eye
    3.65 +
    3.66 +	vr_recenter