-
Notifications
You must be signed in to change notification settings - Fork 0
/
StandardIncludes.h
38 lines (28 loc) · 697 Bytes
/
StandardIncludes.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
#pragma once
#ifndef STANDARD_INCLUDES_H
#define STANDARD_INCLUDES_H
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtx/string_cast.hpp>
#include <glm/gtc/random.hpp>
#ifdef _WIN32
#include <Windows.h>
#define M_ASSERT(_cond, _msg) \
if(!(_cond)) { OutputDebugStringA(_msg); std::abort(); glfwTerminate(); }
#endif
#include <string>
#include <vector>
#include <fstream>
#include <memory>
#include <random>
using std::shared_ptr;
using std::make_shared;
using std::vector;
const int FPS = 60;
const float MPF = 1000 / FPS;
#include "Resolution.h"
using glm::vec3;
using glm::mat4;
#endif // !STANDARD_INCLUDES_H