dungeon_crawler

annotate 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
rev   line source
nuclear@1 1 #ifndef VMATH_CONFIG_H_
nuclear@1 2 #define VMATH_CONFIG_H_
nuclear@1 3
nuclear@1 4 #if (__STDC_VERSION__ < 199999)
nuclear@1 5 #if defined(__GNUC__) || defined(_MSC_VER)
nuclear@1 6 #define inline __inline
nuclear@1 7 #else
nuclear@1 8 #define inline
nuclear@1 9
nuclear@1 10 #ifdef VECTOR_H_
nuclear@1 11 #warning "compiling vector operations without inline, performance might suffer"
nuclear@1 12 #endif /* VECTOR_H_ */
nuclear@1 13
nuclear@1 14 #endif /* gcc/msvc */
nuclear@1 15 #endif /* not C99 */
nuclear@1 16
nuclear@1 17 #define SINGLE_PRECISION_MATH
nuclear@1 18
nuclear@1 19 #endif /* VMATH_CONFIG_H_ */