[SOLVED] CS // The standard headers included by all files

$25

File Name: CS_//_The_standard_headers_included_by_all_files.zip
File Size: 452.16 KB

5/5 - (1 vote)

// The standard headers included by all files

#ifndef HEADERS_H
#define HEADERS_H

#include glad/include/glad/glad.h
#include

#ifdef LINUX
#include
#include
#include
#define sprintf_s sprintf
#define _strdup strdup
#define sscanf_s sscanf
#endif

#ifdef _WIN32
#include
#include
//#include
#define M_PI 3.14159
#define MAXFLOAT FLT_MAX
//#define rint(x) floor((x)+0.5)
#pragma warning(disable : 4244 4305 4996 4838)
#define chdir _chdir
#endif

#ifdef MACOS
#include
#include
#define sprintf_s sprintf
#define _strdup strdup
#define sscanf_s sscanf
#endif

#include
#include
#include
#include
using namespace std;

#include

#include linalg.h

#define randIn01() (rand() / (float) RAND_MAX) // random number in [0,1]

#endif

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[SOLVED] CS // The standard headers included by all files
$25