mirror of
https://github.com/TheRedShip/RT_GPU.git
synced 2025-09-27 18:48:36 +02:00
+ Parsing object system
This commit is contained in:
@ -12,10 +12,10 @@
|
||||
|
||||
#include "Window.hpp"
|
||||
|
||||
Window::Window(int width, int height, const char *title, int sleep)
|
||||
Window::Window(Scene *scene, int width, int height, const char *title, int sleep)
|
||||
{
|
||||
_scene = new Scene();
|
||||
|
||||
_scene = scene;
|
||||
|
||||
if (!glfwInit())
|
||||
{
|
||||
fprintf( stderr, "Failed to initialize GLFW\n" );
|
||||
@ -130,11 +130,6 @@ GLFWwindow *Window::getWindow(void) const
|
||||
return (_window);
|
||||
}
|
||||
|
||||
Scene *Window::getScene(void) const
|
||||
{
|
||||
return (_scene);
|
||||
}
|
||||
|
||||
float Window::getFps(void) const
|
||||
{
|
||||
return (_fps);
|
||||
|
Reference in New Issue
Block a user