goat3d

view libs/vmath/vmath_config.h @ 40:a5c5cec3cb88

- added mesh attribute and face append functions - added Int4 constructor - continued the blender exporter - fixed a bug in clean_filename which made it produce unterminated strings - renamed clean_filename to goat3d_clean_filename and made it extern - added call to goat3d_clean_filename in the mesh XML export code to cleanup ctm filenames
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 13 Oct 2013 10:14:19 +0300
parents 4deb0b12fe14
children
line source
1 #ifndef VMATH_CONFIG_H_
2 #define VMATH_CONFIG_H_
4 #ifdef __cplusplus
5 #define VMATH_INLINE inline
6 #elif (__STDC_VERSION__ < 199999)
7 #if defined(__GNUC__) || defined(_MSC_VER)
8 #define VMATH_INLINE __inline
9 #else
10 #define VMATH_INLINE
12 #ifdef VECTOR_H_
13 #warning "compiling vector operations without inline, performance might suffer"
14 #endif /* VECTOR_H_ */
16 #endif /* gcc/msvc */
17 #endif /* not C99 */
19 #define SINGLE_PRECISION_MATH
21 #endif /* VMATH_CONFIG_H_ */