[MERGE] merged feature/improve-hand-detection into feature/Start-scene correctly

This commit is contained in:
Jasper
2021-06-04 10:51:53 +02:00
parent f76c0fcf1b
commit 7cc918fdf8
4 changed files with 11 additions and 6 deletions

View File

@@ -8,6 +8,7 @@
#include "../renderEngine/obj_loader.h"
#include "../renderEngine/renderer.h"
#include "../shaders/entity_shader.h"
#include "../gui/gui_interactable.h"
#include "../toolbox/toolbox.h"
@@ -74,7 +75,6 @@ namespace scene
gui::Button* new_button = ConvertGuiTextureToButton(button);
if(new_button != NULL)
new_button->Update(window);
}

View File

@@ -1,6 +1,6 @@
#pragma once
#include "scene.h"
#include "../gui/gui_interactable.h"
#include "../gui/gui_element.h"
namespace scene
{
@@ -13,7 +13,6 @@ namespace scene
public:
Startup_Scene();
gui::Button* ConvertGuiTextureToButton(gui::GuiTexture* texture);
Scenes start(GLFWwindow* window) override;
void render() override;
void update(GLFWwindow* window) override;