mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-04-23 06:29:54 +08:00

This implementation will be based on commit b31dc0bd92eb7ac896079849a2205fac4abbd087 from the nanort project Signed-off by: Arthur Brainville (Ybalrid) <ybalrid@ybalrid.info>
20 lines
391 B
C++
20 lines
391 B
C++
#ifndef EXAMPLE_OBJ_LOADER_H_
|
|
#define EXAMPLE_OBJ_LOADER_H_
|
|
|
|
#include <vector>
|
|
#include <string>
|
|
|
|
#include "mesh.h"
|
|
#include "material.h"
|
|
|
|
namespace example {
|
|
|
|
///
|
|
/// Loads wavefront .obj mesh
|
|
///
|
|
bool LoadObj(const std::string &filename, float scale, std::vector<Mesh<float> > *meshes, std::vector<Material> *materials, std::vector<Texture> *textures);
|
|
|
|
}
|
|
|
|
#endif // EXAMPLE_OBJ_LOADER_H_
|