mirror of https://github.com/mosra/magnum.git
Browse Source
Both functions convert the value to radians at compile time. For example deg(180.0f) is converted to 3.14f. Less intuitive than user-defined literals (C++11 feature), but works everywhere.pull/279/head
5 changed files with 22 additions and 3 deletions
Loading…
Reference in new issue