[EDIT] code style guide - renderengine
This commit is contained in:
@@ -4,19 +4,19 @@
|
||||
#include <vector>
|
||||
#include "../models/Model.h"
|
||||
|
||||
namespace renderEngine
|
||||
namespace render_engine
|
||||
{
|
||||
namespace loader
|
||||
{
|
||||
/*
|
||||
This function generates a model from model data.
|
||||
*/
|
||||
struct models::RawModel LoadToVAO(std::vector<float>& positions, std::vector<float>& textureCoords, std::vector<unsigned int>& indices);
|
||||
struct models::RawModel LoadToVAO(std::vector<float>& positions, std::vector<float>& texture_coords, std::vector<unsigned int>& indices);
|
||||
|
||||
/*
|
||||
Loads a texture from a file into openGL using stb_image.h
|
||||
*/
|
||||
GLuint LoadTexture(std::string fileName);
|
||||
GLuint LoadTexture(std::string file_name);
|
||||
|
||||
/*
|
||||
Call this function when cleaning up all the meshes (when exiting the program).
|
||||
|
||||
Reference in New Issue
Block a user