MCPcopy Create free account
hub / github.com/FastLED/FastLED / radians

Function radians

src/fl/math/math.h:522–524  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

520
521template<typename T>
522constexpr inline T radians(T deg) FL_NOEXCEPT {
523 return deg * static_cast<T>(0.017453292519943295); // PI / 180
524}
525
526template<typename T>
527constexpr inline T degrees(T rad) FL_NOEXCEPT {

Callers 1

FL_TEST_FILEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected