headers.h
Go to the documentation of this file.
00001 #pragma once
00002 
00003 #ifndef _HEADERS_H_
00004 #define _HEADERS_H_
00005 
00006 #ifdef WIN32
00007 #ifndef WIN32_LEAN_AND_MEAN
00008 #define WIN32_LEAN_AND_MEAN
00009 #endif
00010 #ifndef _WIN32_WINNT
00011 #define _WIN32_WINNT 0x0500
00012 #endif
00013 #define NOMINMAX
00014 #include <windows.h>
00015 #else
00016 #include <time.h>
00017 #include <sys/time.h>
00018 #endif
00019 
00020 #ifdef WIN32
00021 #include <GL/glew.h>
00022 #include <GL/gl.h>
00023 #include <GL/glu.h>
00024 #else
00025 #include <GL/gl.h>
00026 #include <GL/glu.h>
00027 #include <GL/glext.h>
00028 #endif
00029 
00030 // OpenCV2.x include has extra directory level
00031 //#include <opencv/highgui.h>
00032 #include <opencv2/highgui/highgui.hpp>
00033 
00034 #include <stdio.h>
00035 #include <stdlib.h>
00036 #include <stddef.h>
00037 #include <string.h>
00038 #include <math.h>
00039 #include <vector>
00040 #include <algorithm>
00041 #include <stdexcept>
00042 
00043 #ifdef WIN32
00044 #define snprintf _snprintf
00045 template <typename TYPE> inline TYPE round(TYPE a) {
00046         return ::floor(a + (TYPE)0.5);
00047 }
00048 #endif
00049 
00050 #endif // _HEADERS_H_


blort
Author(s): Thomas Mörwald , Michael Zillich , Andreas Richtsfeld , Johann Prankl , Markus Vincze , Bence Magyar
autogenerated on Wed Aug 26 2015 15:24:12