chrono::opengl::ChOpenGLOBJLoader Class Reference

Description

Uses the tiny_obj_loader library to load an OBJ file in the proper format.

#include <ChOpenGLOBJLoader.h>

Inheritance diagram for chrono::opengl::ChOpenGLOBJLoader:
Collaboration diagram for chrono::opengl::ChOpenGLOBJLoader:

Public Member Functions

void LoadObject (const char *mesh_file, std::vector< std::vector< glm::vec3 > > &vertices, std::vector< std::vector< glm::vec3 > > &normals, std::vector< std::vector< glm::vec2 > > &texcoords, std::vector< std::vector< GLuint > > &indices, std::vector< std::string > &names)
 
void TakeDown ()
 
- Public Member Functions inherited from chrono::opengl::ChOpenGLBase
bool GLReturnedError (const char *s)