-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathprecomp.h
49 lines (41 loc) · 1.08 KB
/
precomp.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
#pragma once
// system includes
#include <GL/glew.h>
#include <GL/wglew.h>
#include <vector>
#include "common.h"
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <fstream>
#include <fcntl.h>
#include <io.h>
// external libraries
#include "freeimage.h"
#include <string>
// opengl lib includes
#pragma comment(lib, "glew32.lib")
#pragma comment(lib, "opengl32.lib")
using namespace std;
using namespace glm;
// library includes
#include "maths.h"
#include "shader.h"
#include "light.h"
#include "texture.h"
#include "material.h"
#include "node.h"
#include "scene.h"
#include "camera.h"
#include "target.h"
#include "pass.h"
#include "technique.h"
#include "renderer.h"
// library namespace
using namespace ogllab;
// global helper functions
void CheckGL();
void CheckFrameBuffer();
void CheckShader( GLuint shader, const char* _VShader, const char* _FShader, const char* _GShader );
void SaveBadShaders( const char* _VShader, const char* _FShader, const char* _GShader );
void CheckProgram( GLuint _ID, const char* _VShader, const char* _FShader, const char* _GShader );
// EOF