From ede56e6705cb1c025fd101f55d99f32d20000316 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 2 Aug 2018 19:41:56 +0200 Subject: [PATCH] Math: doc++ --- src/Magnum/Math/Bezier.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Magnum/Math/Bezier.h b/src/Magnum/Math/Bezier.h index 531b3b880..60668a626 100644 --- a/src/Magnum/Math/Bezier.h +++ b/src/Magnum/Math/Bezier.h @@ -85,7 +85,7 @@ template class Bezier { {} /** @brief Construct Bézier curve with given array of control points */ - template constexpr Bezier(const Vector& first, U... next) noexcept: _data{first, next...} { + template constexpr /*implicit*/ Bezier(const Vector& first, U... next) noexcept: _data{first, next...} { static_assert(sizeof...(U) + 1 == order + 1, "Wrong number of arguments"); } @@ -97,10 +97,10 @@ template class Bezier { */ template constexpr explicit Bezier(const Bezier& other) noexcept: Bezier{typename Implementation::GenerateSequence::Type(), other} {} - /** @brief Construct Bézier from external representation */ + /** @brief Construct Bézier curve from external representation */ template::from(std::declval()))> constexpr explicit Bezier(const U& other) noexcept: Bezier{Implementation::BezierConverter::from(other)} {} - /** @brief Convert Bézier to external representation */ + /** @brief Convert Bézier curve to external representation */ template::to(std::declval>()))> constexpr explicit operator U() const { return Implementation::BezierConverter::to(*this); }