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)
 

The documentation for this class was generated from the following files:
  • /builds/uwsbel/chrono/src/chrono_opengl/shapes/obj/ChOpenGLOBJLoader.h
  • /builds/uwsbel/chrono/src/chrono_opengl/shapes/obj/ChOpenGLOBJLoader.cpp