X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=include%2Fmqo.h;h=b64c7f6eed13c02e5bb67185aba1703879d2ec50;hb=af0f7ea2da9ace619ff51edef564fe4669582074;hp=e3b148c0c75a38c044c6bdac462c2f5f220c3a85;hpb=e4f3c8212f19802eaa3a2aa66c12304b5ecdb75b;p=meshio%2Fmeshio.git diff --git a/include/mqo.h b/include/mqo.h index e3b148c..b64c7f6 100644 --- a/include/mqo.h +++ b/include/mqo.h @@ -219,7 +219,8 @@ struct Object std::vector faces; Object() - : mirror(0) + : depth(0), folding(0), visible(1), locking(0), shading(0), + smoothing(60.0f), color_type(0), mirror(0) {} std::wstring getName()const; @@ -250,7 +251,8 @@ struct IO //#ifdef _WIN32 bool read(const wchar_t *path); //#endif - bool write(std::ostream &os); + bool write(binary::IWriter &writer); + bool write(const char *path); }; } // namespace mqo