goat3d
annotate libs/vmath/vmath_config.h @ 47:498ca7ac7047
- placed all the implementation stuff in the g3dimpl namespace
- added animation stuff to the public API
- started writing animation saving/loading
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 28 Dec 2013 06:47:39 +0200 |
parents | 4deb0b12fe14 |
children |
rev | line source |
---|---|
nuclear@27 | 1 #ifndef VMATH_CONFIG_H_ |
nuclear@27 | 2 #define VMATH_CONFIG_H_ |
nuclear@27 | 3 |
nuclear@28 | 4 #ifdef __cplusplus |
nuclear@28 | 5 #define VMATH_INLINE inline |
nuclear@28 | 6 #elif (__STDC_VERSION__ < 199999) |
nuclear@27 | 7 #if defined(__GNUC__) || defined(_MSC_VER) |
nuclear@28 | 8 #define VMATH_INLINE __inline |
nuclear@27 | 9 #else |
nuclear@28 | 10 #define VMATH_INLINE |
nuclear@27 | 11 |
nuclear@27 | 12 #ifdef VECTOR_H_ |
nuclear@27 | 13 #warning "compiling vector operations without inline, performance might suffer" |
nuclear@27 | 14 #endif /* VECTOR_H_ */ |
nuclear@27 | 15 |
nuclear@27 | 16 #endif /* gcc/msvc */ |
nuclear@27 | 17 #endif /* not C99 */ |
nuclear@27 | 18 |
nuclear@27 | 19 #define SINGLE_PRECISION_MATH |
nuclear@27 | 20 |
nuclear@27 | 21 #endif /* VMATH_CONFIG_H_ */ |