From f7c7ebbbb22dc51941e4cd5f9d9a0c7f6675cbe7 Mon Sep 17 00:00:00 2001 From: Pascal Engeler <engelerp@phys.ethz.ch> Date: Wed, 11 Aug 2021 11:00:30 +0200 Subject: [PATCH] fixed constructor definition --- src/toolbox.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/toolbox.cpp b/src/toolbox.cpp index dd51dbf..36a8bc4 100644 --- a/src/toolbox.cpp +++ b/src/toolbox.cpp @@ -7,7 +7,9 @@ Toolbox::Toolbox(const int screen_w, const int screen_h, //screen resolution const int texoffset_right, //texture offset right const int texoffset_bottom, //texture offset bottom const int texoffset_top, //texture offset top - const std::string shaderpath) //path to shaders + const std::string shaderpath, //path to shaders + const std::string texturepath, //path to textures + const std::string resourcepath) //path to resources : mailbox(0), events(0), @@ -29,6 +31,8 @@ Toolbox::Toolbox(const int screen_w, const int screen_h, //screen resolution texoffset_bottom(texoffset_bottom), texoffset_top(texoffset_top), shader_path(shaderpath), + texture_path(texturepath), + resource_path(resource_path), time(0.f), dt(0.016f) { -- GitLab