2024-08-10 19:12:21 -04:00
|
|
|
#include <GL/glew.h>
|
|
|
|
#include <GLFW/glfw3.h>
|
|
|
|
|
|
|
|
#include <iostream>
|
|
|
|
#include <fstream>
|
|
|
|
#include <sstream>
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
#include "Scene.h"
|
|
|
|
|
2024-08-11 14:52:38 -04:00
|
|
|
void Scene::DrawGUI(GLFWwindow* window) {
|
2024-08-10 19:12:21 -04:00
|
|
|
}
|
|
|
|
|
2024-08-11 14:52:38 -04:00
|
|
|
void Scene::Display(GLFWwindow* window) {
|
|
|
|
glClear(GL_COLOR_BUFFER_BIT);
|
|
|
|
glfwSwapBuffers(window);
|
2024-08-10 19:12:21 -04:00
|
|
|
}
|
|
|
|
|
2024-08-11 14:52:38 -04:00
|
|
|
void Scene::Idle() {
|
2024-08-10 19:12:21 -04:00
|
|
|
}
|
|
|
|
|
2024-08-11 14:52:38 -04:00
|
|
|
void Scene::Init() {
|
|
|
|
glewInit();
|
|
|
|
|
|
|
|
glEnable(GL_DEPTH_TEST);
|
|
|
|
glEnable(GL_CULL_FACE);
|
2024-08-10 19:12:21 -04:00
|
|
|
}
|