From 12837cc8b2456445f64f912100d1c6558301031b Mon Sep 17 00:00:00 2001 From: LZaw <28070263+LZaw@users.noreply.github.com> Date: Thu, 8 Mar 2018 15:47:06 +0100 Subject: [PATCH] Adapt v 1.0.x Added an attributes parameter --- examples/obj_sticher/obj_writer.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/examples/obj_sticher/obj_writer.h b/examples/obj_sticher/obj_writer.h index bb367b6..aa3b269 100644 --- a/examples/obj_sticher/obj_writer.h +++ b/examples/obj_sticher/obj_writer.h @@ -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& shapes, const std::vector& materials, bool coordTransform = false); +#include "tiny_obj_loader.h" +extern bool WriteObj(const std::string& filename, const tinyobj::attrib_t& attributes, const std::vector& shapes, const std::vector& materials, bool coordTransform = false); #endif // __OBJ_WRITER_H__