Project Chrono: chrono::opengl::ChOpenGLOBJLoader Class Reference

Public Member Functions | List of all members
chrono::opengl::ChOpenGLOBJLoader Class Reference
OpenGL module

## 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:
[legend]
Collaboration diagram for chrono::opengl::ChOpenGLOBJLoader:
[legend]

## 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)

## Member Function Documentation

## ◆ TakeDown()

void chrono::opengl::ChOpenGLOBJLoader::TakeDown | ( |  | ) |
| inlinevirtual

Implements chrono::opengl::ChOpenGLBase.

The documentation for this class was generated from the following files:

- D:/W/B/src/chrono-9.0.1/src/chrono_opengl/shapes/obj/ChOpenGLOBJLoader.h
- D:/W/B/src/chrono-9.0.1/src/chrono_opengl/shapes/obj/ChOpenGLOBJLoader.cpp