3dphotoshoot

diff libs/vmath/vmath_config.h @ 10:c71c477521ca

converting to GLES2 and C++
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 31 May 2015 00:40:26 +0300
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libs/vmath/vmath_config.h	Sun May 31 00:40:26 2015 +0300
     1.3 @@ -0,0 +1,19 @@
     1.4 +#ifndef VMATH_CONFIG_H_
     1.5 +#define VMATH_CONFIG_H_
     1.6 +
     1.7 +#if (__STDC_VERSION__ < 199999) && !defined(__cplusplus)
     1.8 +#if defined(__GNUC__) || defined(_MSC_VER)
     1.9 +#define inline __inline
    1.10 +#else
    1.11 +#define inline
    1.12 +
    1.13 +#ifdef VECTOR_H_
    1.14 +#warning "compiling vector operations without inline, performance might suffer"
    1.15 +#endif	/* VECTOR_H_ */
    1.16 +
    1.17 +#endif	/* gcc/msvc */
    1.18 +#endif	/* not C99 */
    1.19 +
    1.20 +#define SINGLE_PRECISION_MATH
    1.21 +
    1.22 +#endif	/* VMATH_CONFIG_H_ */