Browse Source

Math: minor.

pull/638/head
Vladimír Vondruš 2 years ago
parent
commit
3145658a02
  1. 2
      src/Magnum/Math/Test/AngleTest.cpp

2
src/Magnum/Math/Test/AngleTest.cpp

@ -298,7 +298,7 @@ void AngleTest::literals() {
void AngleTest::conversion() {
/* Implicit conversion should be allowed */
constexpr Deg a = Rad(1.57079633f);
constexpr Deg a = 1.57079633_radf;
CORRADE_COMPARE(Float(a), 90.0f);
constexpr Rad b = 90.0_degf;

Loading…
Cancel
Save