88#ifndef DOXYGEN_SHOULD_SKIP_THIS
119#define C_USE_OPENGL_DOUBLES
127#define C_USE_FILE_3DS
131#define C_USE_FILE_GIF
135#define C_USE_FILE_JPG
139#define C_USE_FILE_PNG
149#if defined(WIN32) | defined(WIN64)
156 #if !defined(NOMINMAX)
164 #define nullptr __nullptr
169 #define cPrint _cprintf
172 #if !defined(C_USE_EIGEN)
173 #define _USE_MATH_DEFINES
178 #if defined(C_USE_OPENGL)
187 #define C_ENABLE_CUSTOM_DEVICE_SUPPORT
188 #define C_ENABLE_DELTA_DEVICE_SUPPORT
189 #define C_ENABLE_PHANTOM_DEVICE_SUPPORT
190 #define C_ENABLE_LEAP_DEVICE_SUPPORT
196 #pragma comment (lib, "winmm.lib")
218 #define cPrint printf
223 #define C_ENABLE_CUSTOM_DEVICE_SUPPORT
224 #define C_ENABLE_DELTA_DEVICE_SUPPORT
225 #define C_ENABLE_PHANTOM_DEVICE_SUPPORT
226 #define C_ENABLE_LEAP_DEVICE_SUPPORT
242 #include <CoreFoundation/CoreFoundation.h>
243 #include <mach/mach_time.h>
249 #define cPrint printf
254 #define C_ENABLE_CUSTOM_DEVICE_SUPPORT
255 #define C_ENABLE_DELTA_DEVICE_SUPPORT
256 #define C_ENABLE_LEAP_DEVICE_SUPPORT
284void cSleepMs(
const unsigned int a_interval);
293void cGetVersion(
int& a_major,
int& a_minor,
int& a_patch);
297#ifndef DOXYGEN_SHOULD_SKIP_THIS
314typedef unsigned int GLenum;
315typedef unsigned int GLuint;
318typedef unsigned char GLboolean;
319typedef signed char GLbyte;
320typedef short GLshort;
321typedef unsigned char GLubyte;
322typedef unsigned short GLushort;
323typedef unsigned long GLulong;
324typedef float GLfloat;
325typedef float GLclampf;
326typedef double GLdouble;
327typedef double GLclampd;
332#define GL_EXP2 0x0801
333#define GL_UNSIGNED_BYTE 0x1401
334#define GL_LINE 0x1B01
335#define GL_POINTS 0x0000
336#define GL_BYTE 0x1400
337#define GL_SHORT 0x1402
338#define GL_UNSIGNED_SHORT 0x1403
339#define GL_UNSIGNED_INT 0x1405
340#define GL_DEPTH_COMPONENT 0x1902
342#define GL_RGBA 0x1908
343#define GL_LUMINANCE 0x1909
344#define GL_LUMINANCE_ALPHA 0x190A
345#define GL_TEXTURE0 0x84C0
346#define GL_TEXTURE1 0x84C1
347#define GL_TEXTURE2 0x84C2
348#define GL_TEXTURE3 0x84C3
349#define GL_TEXTURE4 0x84C4
350#define GL_POINT 0x1B00
351#define GL_POINTS 0x0000
352#define GL_LINES 0x0001
353#define GL_LINE_LOOP 0x0002
354#define GL_LINE_STRIP 0x0003
355#define GL_TRIANGLES 0x0004
356#define GL_TRIANGLE_STRIP 0x0005
357#define GL_TRIANGLE_FAN 0x0006
358#define GL_FILL 0x1B02
360#define GL_MODULATE 0x2100
361#define GL_DECAL 0x2101
362#define GL_LINEAR 0x2601
363#define GL_LINEAR_MIPMAP_LINEAR 0x2703
364#define GL_CLAMP 0x2900
365#define GL_REPEAT 0x2901
366#define GL_LIGHT0 0x4000
367#define GL_VERTEX_ARRAY 0x8074
368#define GLUquadricObj void
370#define GL_CLAMP_TO_EDGE 0x812F
371#define GL_NEAREST 0x2600
372#define GL_NEAREST_MIPMAP_NEAREST 0x2700
Definition CAudioBuffer.cpp:57
const std::string cGetVersion()
This function returns a string containing the CHAI3D library version.
Definition CGlobals.cpp:125
void cSleepMs(const unsigned int a_interval)
This function suspends the execution of the current thread for a specified interval.
Definition CGlobals.cpp:64
std::string cGetCurrentPath()
This function retrieves the absolute path of the current executable.
Definition CGlobals.cpp:87