From 60d13f0fcbd722357018b0133e541d5921c3aab5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 1 Nov 2021 20:21:16 +0100 Subject: [PATCH] Math: these sentences don't sound like they make any sense, no. --- src/Magnum/Math/Color.h | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/Magnum/Math/Color.h b/src/Magnum/Math/Color.h index 42f92ad1b..8f51eca3b 100644 --- a/src/Magnum/Math/Color.h +++ b/src/Magnum/Math/Color.h @@ -297,7 +297,8 @@ template class Color3: public Vector3 { * @brief Blue color * * Convenience alternative to e.g. @cpp Color3{0.0f, 0.0f, blue} @ce. - * With floating-point underlying type equivalent to @ref Vector3::zAxis(). + * With a floating-point underlying type it's equivalent to + * @ref Vector3::zAxis(). * @see @ref red(), @ref green(), @ref yellow() */ constexpr static Color3 blue(T blue = Implementation::fullChannel()) { @@ -308,7 +309,8 @@ template class Color3: public Vector3 { * @brief Cyan color * * Convenience alternative to e.g. @cpp Color3{red, 1.0f, 1.0f} @ce. - * With floating-point underlying type equivalent to @ref Vector3::xScale(). + * With a floating-point underlying type it's equivalent to + * @ref Vector3::xScale(). * @see @ref magenta(), @ref yellow(), @ref red() */ constexpr static Color3 cyan(T red = T(0)) { @@ -319,7 +321,8 @@ template class Color3: public Vector3 { * @brief Magenta color * * Convenience alternative to e.g. @cpp Color3{1.0f, green, 1.0f} @ce. - * With floating-point underlying type equivalent to @ref Vector3::yScale(). + * With a floating-point underlying type it's equivalent to + * @ref Vector3::yScale(). * @see @ref cyan(), @ref yellow(), @ref green() */ constexpr static Color3 magenta(T green = T(0)) { @@ -329,8 +332,9 @@ template class Color3: public Vector3 { /** * @brief Yellow color * - * Convenience alternative to e.g. @cpp Color3{1.0f, 1.0f, yellow} @ce. - * With floating-point underlying type equivalent to @ref Vector3::zScale(). + * Convenience alternative to e.g. @cpp Color3{1.0f, 1.0f, blue} @ce. + * With a floating-point underlying type it's equivalent to + * @ref Vector3::zScale(). * @see @ref cyan(), @ref magenta(), @ref red() */ constexpr static Color3 yellow(T blue = T(0)) {