-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.cpp
42 lines (33 loc) · 835 Bytes
/
main.cpp
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
#define STB_IMAGE_IMPLEMENTATION
#include <stdio.h>
#include <string.h>
#include <cmath>
#include <iostream>
#include <vector>
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include "include/CommonValues.h"
#include "include/Window.h"
#include "include/Mesh.h"
#include "include/Shader.h"
#include "include/Camera.h"
#include "include/Texture.h"
#include "include/DirectionalLight.h"
#include "include/PointLight.h"
#include "include/SpotLight.h"
#include "include/Material.h"
#include "include/Scene.h"
using namespace std;
const float toRadians = 3.14159265f / 180.0f;
int main()
{
Scene scene = Scene();
while (!scene.mainWindow.getShouldClose())
{
scene.Render();
}
return 0;
}