From 00c1e10ace5b7ef1ddc23f09f83ea6a888687137 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 4 Feb 2024 20:54:56 +0100 Subject: [PATCH] Math: English, do you speak it?! --- src/Magnum/Math/Angle.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Magnum/Math/Angle.h b/src/Magnum/Math/Angle.h index e411987ac..861e1c2f0 100644 --- a/src/Magnum/Math/Angle.h +++ b/src/Magnum/Math/Angle.h @@ -49,12 +49,12 @@ and conversion less error-prone. @section Math-Deg-usage Usage -You can enter the value either by using a literal: +You can create the value either by using a literal: @snippet MagnumMath.cpp Deg-usage -Or explicitly convert a unitless value (such as output from some function) to -either degrees or radians: +Or explicitly convert a unitless value (such as an output from some function) +to either degrees or radians: @snippet MagnumMath.cpp Deg-usage-convert @@ -65,7 +65,7 @@ or multiplication/division by a unitless number: It is also possible to compare angles with all comparison operators, but comparison of degrees and radians is not possible without explicit conversion -to common type: +to a common type: @snippet MagnumMath.cpp Deg-usage-comparison @@ -105,7 +105,7 @@ template class Deg: public Unit { * Equivalent to @ref Deg(ZeroInitT). */ /* Needs to be Math::Deg here and in all other places because older - Clang and both MSVC 2015 and 2017 treat it as a template instantce + Clang and both MSVC 2015 and 2017 treat it as a template instance Deg instead of a Deg template */ constexpr /*implicit*/ Deg() noexcept: Unit{ZeroInit} {} @@ -115,7 +115,7 @@ template class Deg: public Unit { /** @brief Construct without initializing the contents */ explicit Deg(Magnum::NoInitT) noexcept: Unit{Magnum::NoInit} {} - /** @brief Explicit constructor from unitless type */ + /** @brief Explicit constructor from a unitless type */ constexpr explicit Deg(T value) noexcept: Unit(value) {} /** @brief Construct from another underlying type */