Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00033
00035
00041 #ifndef VISUALIZATION_LIBRARY_CONFIG_INCLUDE_ONCE
00042 #define VISUALIZATION_LIBRARY_CONFIG_INCLUDE_ONCE
00043
00044
00053 #define VL_DEBUG_LIVING_OBJECTS 0
00054
00055
00062 #define VL_FORCE_CHECKS 0
00063
00064
00070 #define VL_MESSAGEBOX_CHECK 0
00071
00072
00087 #define VL_PIPELINE_PRECISION 1
00088
00089
00105 #define VL_FAST_SQUARE_ROOTS 0
00106
00107
00114 #define VL_OBJECT_USER_DATA 0
00115
00116
00123 #define VL_ACTOR_USER_DATA 0
00124
00125
00132 #define VL_TRANSFORM_USER_DATA 0
00133
00134
00141 #define VL_SHADER_USER_DATA 0
00142
00143
00151 #define VL_MAX_ACTOR_LOD 4
00152
00153
00161 #define VL_MAX_EFFECT_LOD 4
00162
00163
00172 #define VL_MAX_TEXTURE_UNITS 8
00173
00174
00183 #define VL_MAX_GENERIC_VERTEX_ATTRIB 8
00184
00185
00189 #define VL_MAX_TIMERS 16
00190
00191
00198 #define VL_STRING_COPY_ON_WRITE 1
00199
00200
00204 #define VL_DEFAULT_BUFFER_BYTE_ALIGNMENT 16
00205
00206
00207
00208
00210
00211 #ifndef NDEBUG
00212 #define VL_DEBUG_SET_OBJECT_NAME() this->mObjectName = className();
00213 #else
00214 #define VL_DEBUG_SET_OBJECT_NAME()
00215 #endif
00216
00218
00219
00220 #if VL_PIPELINE_PRECISION == 2
00221 namespace vl { typedef double Real; }
00223 #define VL_glLoadMatrix glLoadMatrixd
00224
00225 #define VL_glMultMatrix glMultMatrixd
00226 #else
00227 namespace vl { typedef float Real; }
00228 namespace vl { typedef float Real; }
00230 #define VL_glLoadMatrix glLoadMatrixf
00231
00232 #define VL_glMultMatrix glMultMatrixf
00233 #endif
00234
00236
00237
00238 #ifdef _MSC_VER
00239 #pragma warning( once : 4996 ) // function or variable may be unsafe
00240 #pragma warning( once : 4800 ) // forcing value to bool (performance warning)
00241 #pragma warning( once : 4127 ) // conditional expression is constant
00242 #pragma warning( once : 4100 ) // unreferenced formal parameter
00243 #pragma warning( disable : 4251 ) // non-dll type exposed by a dll type
00244 #endif
00245
00247
00248
00249 #if defined(_WIN32) && !defined(VL_STATIC_LINKING)
00250 #ifdef VLCore_EXPORTS
00251 #define VLCORE_EXPORT __declspec(dllexport)
00252 #else
00253 #define VLCORE_EXPORT __declspec(dllimport)
00254 #endif
00255 #else
00256 #define VLCORE_EXPORT
00257 #endif
00258
00259 #endif // VISUALIZATION_LIBRARY_CONFIG_INCLUDE_ONCE