From 6bb1795a8d6d032079b22d4b343cfc2ca90c7b35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 8 Nov 2022 16:47:05 +0100 Subject: [PATCH] SceneTools: no need to leak include-depdency-breaking overloads to docs. It's enough to just show a single overload with a default argument there, like it's done everywhere else. --- src/Magnum/SceneTools/FlattenMeshHierarchy.h | 26 ++++++++------------ 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/src/Magnum/SceneTools/FlattenMeshHierarchy.h b/src/Magnum/SceneTools/FlattenMeshHierarchy.h index 9b216a56e..3ce14cd0c 100644 --- a/src/Magnum/SceneTools/FlattenMeshHierarchy.h +++ b/src/Magnum/SceneTools/FlattenMeshHierarchy.h @@ -61,16 +61,13 @@ calls @ref orderClusterParents() internally. @see @ref Trade::SceneData::hasField(), @ref Trade::SceneData::is2D(), @ref MeshTools::concatenate() */ +#ifdef DOXYGEN_GENERATING_OUTPUT +MAGNUM_SCENETOOLS_EXPORT Containers::Array> flattenMeshHierarchy2D(const Trade::SceneData& scene, const Matrix3& globalTransformation = {}); +#else +/* To avoid including Matrix3 */ MAGNUM_SCENETOOLS_EXPORT Containers::Array> flattenMeshHierarchy2D(const Trade::SceneData& scene, const Matrix3& globalTransformation); - -/** @overload -@m_since_latest - -Same as above with @p globalTransformation set to an identity matrix. - -@experimental -*/ MAGNUM_SCENETOOLS_EXPORT Containers::Array> flattenMeshHierarchy2D(const Trade::SceneData& scene); +#endif /** @brief Flatten a 3D mesh hierarchy @@ -97,16 +94,13 @@ calls @ref orderClusterParents() internally. @see @ref Trade::SceneData::hasField(), @ref Trade::SceneData::is3D(), @ref MeshTools::concatenate() */ +#ifdef DOXYGEN_GENERATING_OUTPUT +MAGNUM_SCENETOOLS_EXPORT Containers::Array> flattenMeshHierarchy3D(const Trade::SceneData& scene, const Matrix4& globalTransformation = {}); +#else +/* To avoid including Matrix4 */ MAGNUM_SCENETOOLS_EXPORT Containers::Array> flattenMeshHierarchy3D(const Trade::SceneData& scene, const Matrix4& globalTransformation); - -/** @overload -@m_since_latest - -Same as above with @p globalTransformation set to an identity matrix. - -@experimental -*/ MAGNUM_SCENETOOLS_EXPORT Containers::Array> flattenMeshHierarchy3D(const Trade::SceneData& scene); +#endif }}