Adapt v 1.0.x

Added an attributes parameter
This commit is contained in:
LZaw
2018-03-08 15:47:06 +01:00
committed by GitHub
parent b85714b4cf
commit 12837cc8b2

View File

@@ -1,9 +1,8 @@
#ifndef __OBJ_WRITER_H__
#define __OBJ_WRITER_H__
#include "../../tiny_obj_loader.h"
extern bool WriteObj(const std::string& filename, const std::vector<tinyobj::shape_t>& shapes, const std::vector<tinyobj::material_t>& materials, bool coordTransform = false);
#include "tiny_obj_loader.h"
extern bool WriteObj(const std::string& filename, const tinyobj::attrib_t& attributes, const std::vector<tinyobj::shape_t>& shapes, const std::vector<tinyobj::material_t>& materials, bool coordTransform = false);
#endif // __OBJ_WRITER_H__