#pragma once #include #include #include "../models/model.h" namespace render_engine { namespace loader { /* This function generates a model from model data. */ struct models::RawModel LoadToVAO(std::vector& positions, std::vector& texture_coords, std::vector& indices); /* Loads a texture from a file into openGL using stb_image.h */ GLuint LoadTexture(std::string file_name); /* Call this function when cleaning up all the meshes (when exiting the program). */ void CleanUp(); } }