dungeon_crawler

diff prototype/vmath/vmath_config.h @ 1:96de911d05d4

started a rough prototype
author John Tsiombikas <nuclear@mutantstargoat.com>
date Thu, 28 Jun 2012 06:05:50 +0300
parents
children 6a471c87f9ca
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/prototype/vmath/vmath_config.h	Thu Jun 28 06:05:50 2012 +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)
     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_ */