We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88f0fa3 commit 18bb83fCopy full SHA for 18bb83f
python/bindings.cc
@@ -35,7 +35,8 @@ PYBIND11_MODULE(tinyobjloader, tobj_module)
35
tobj_module.doc() = "Python bindings for TinyObjLoader.";
36
37
// register struct
38
- py::class_<attrib_t>(tobj_module, "Attrib");
+ py::class_<attrib_t>(tobj_module, "Attrib")
39
+ .def(py::init<>());
40
py::class_<shape_t>(tobj_module, "Shape");
41
py::class_<material_t>(tobj_module, "Material");
42
0 commit comments