diff --git a/src/Magnum/Math/Functions.h b/src/Magnum/Math/Functions.h index 4ccb2db1b..bd538a283 100644 --- a/src/Magnum/Math/Functions.h +++ b/src/Magnum/Math/Functions.h @@ -101,6 +101,9 @@ template std::pair div(Integral x, Integral /** @todo Can't trigonometric functions be done with only one overload? */ +/* The functions accept Unit instead of Rad to make them working with operator + products (e.g. 2*35.0_degf, which is of type Unit) */ + /** @brief Sine */ #ifdef DOXYGEN_GENERATING_OUTPUT template inline T sin(Rad angle);