-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrely.h
52 lines (47 loc) · 1.01 KB
/
rely.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#pragma once
#define _CRT_SECURE_NO_WARNINGS
#define USING_FREEGLUT
#define SSE2
#ifdef SSE2
#define SSE4
#ifdef SSE4
#define AVX
#ifdef AVX
#define FMA
#define AVX2
#endif
#endif
#endif
#ifndef _DEBUG
#define NDEBUG
#define _SECURE_SCL 0
#endif
#include <GL/glew.h>
#pragma comment(lib,"glew32.lib")
#ifdef USING_FREEGLUT
#define FREEGLUT_STATIC
#include <GL/freeglut.h>//Free GLUT Header
#else
#include <GL/glut.h> // The GL Utility Toolkit (Glut) Header
#endif
#define PI 3.1415926535897932384
#define M_PI 3.14159265358979323846
#define M_PI_2 1.57079632679489661923
#define _MM_ALIGN32 _VCRT_ALIGN(32)
#include <intrin.h>
#include <cstdio>
#include <conio.h>
#include <cstdlib>
#include <cstdint>
#include <locale>
#include <cmath>
#include <Windows.h>
#include <commdlg.h>
#include <vector>
#include <algorithm>
#include <tuple>
#include <memory>
#include <thread>
#include <atomic>
using namespace std;
using namespace std::placeholders;