X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=include%2Fmqo.h;h=b64c7f6eed13c02e5bb67185aba1703879d2ec50;hb=6f30c5ef957e1775ff7e39a41e1e1aa99864dbd1;hp=fb932dab5fb3b5f1eca5d2843e1139bfc7c9c361;hpb=dc93b705e08b1bcee4099e180d39b364cb5f5ea8;p=meshio%2Fmeshio.git diff --git a/include/mqo.h b/include/mqo.h index fb932da..b64c7f6 100644 --- a/include/mqo.h +++ b/include/mqo.h @@ -219,8 +219,11 @@ 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; }; inline std::ostream &operator<<(std::ostream &os, const Object &rhs) { @@ -245,7 +248,11 @@ struct IO bool read(binary::IReader &reader); bool read(const char *path); - bool write(std::ostream &os); +//#ifdef _WIN32 + bool read(const wchar_t *path); +//#endif + bool write(binary::IWriter &writer); + bool write(const char *path); }; } // namespace mqo