From 6725f6ed2f8ab7ef323516a0ad08550eadb450b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 9 Sep 2018 14:45:30 +0200 Subject: [PATCH] Math: doc++ --- src/Magnum/Math/Color.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Magnum/Math/Color.h b/src/Magnum/Math/Color.h index e945c44f9..21bca74c8 100644 --- a/src/Magnum/Math/Color.h +++ b/src/Magnum/Math/Color.h @@ -230,7 +230,7 @@ linear RGB using @ref fromSrgb(), calculation done on the linear representation and then converted back to sRGB using @ref toSrgb(). Note that constructor conversion between different types (like in @ref Vector -classes) doesn't do any (de)normalization, you should use @ref pack) and +classes) doesn't do any (de)normalization, you should use @ref pack() and @ref unpack() instead, for example: @snippet MagnumMath.cpp Color3-pack