OSDN Git Service

add constraint.
[meshio/meshio.git] / include / mqo.h
index e3b148c..b64c7f6 100644 (file)
@@ -219,7 +219,8 @@ struct Object
        std::vector<Face> 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