Adapt v 1.0.x
Added an attributes parameter
This commit is contained in:
@@ -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__
|
||||
|
||||
Reference in New Issue
Block a user