Pybind changed py::module to py::module_ in order to support C++
modules, adapting to that change. It still builds on older versions,
but we're using only the new APIs.
matrix.doc()="General matrix-based scene graph implementation";
matrix.doc()="General matrix-based scene graph implementation";
py::class_<SceneGraph::Scene<SceneGraph::MatrixTransformation2D>>scene2D_{matrix,"Scene2D","Two-dimensional scene with matrix-based transformation implementation"};
py::class_<SceneGraph::Scene<SceneGraph::MatrixTransformation2D>>scene2D_{matrix,"Scene2D","Two-dimensional scene with matrix-based transformation implementation"};
matrix.doc()="Translation/rotation/scaling-based scene graph implementation";
matrix.doc()="Translation/rotation/scaling-based scene graph implementation";
py::class_<SceneGraph::Scene<SceneGraph::TranslationRotationScalingTransformation2D>>scene2D_{matrix,"Scene2D","Two-dimensional scene with TRS-based transformation implementation"};
py::class_<SceneGraph::Scene<SceneGraph::TranslationRotationScalingTransformation2D>>scene2D_{matrix,"Scene2D","Two-dimensional scene with TRS-based transformation implementation"};