#pragma once /* #include "shader.h" #include "vao.h" #include "vbo.h" #include "../vertex.h" #include "../renderable.h" #include "../transformable.h" */ #include "shader.h" #include "model.h" #include "texture.h" #include #include namespace simpleengine::gfx { class TexturedModel : public simpleengine::gfx::Model { public: gfx::Texture texture; TexturedModel(GLFWwindow* window, gfx::Shader shader, gfx::Texture texture, std::vector vertices, std::vector indicies = std::vector()); TexturedModel(GLFWwindow* window, std::shared_ptr shader_program, gfx::Texture texture, std::vector vertices, std::vector indicies = std::vector()); virtual void update(const float& delta_time) override; virtual void render(GLFWwindow* target) override; }; }