Can now load models from file, kinda
This commit is contained in:
parent
4c3c1687ef
commit
ac5bf9abdb
13 changed files with 10247 additions and 12 deletions
|
@ -54,6 +54,15 @@ namespace oglu
|
|||
*/
|
||||
friend std::shared_ptr<AbstractVertexArray> OGLU_API MakeVertexArray(const GLfloat* vertices, size_t verticesSize, const GLuint* indices, size_t indicesSize, const VertexAttribute* topology, size_t topologySize);
|
||||
|
||||
/**
|
||||
* @brief Constructs a new VAO.
|
||||
*
|
||||
* Reads an .obj file and converts it into a VAO
|
||||
*
|
||||
* @param[in] filepath Path to the .obj file
|
||||
*/
|
||||
friend std::shared_ptr<AbstractVertexArray> OGLU_API MakeVertexArray(const char* filepath);
|
||||
|
||||
/**
|
||||
* @brief Copy constructor.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue