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

Function degrees

src/fl/math/math.h:527–529  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

525
526template<typename T>
527constexpr inline T degrees(T rad) FL_NOEXCEPT {
528 return rad * static_cast<T>(57.29577951308232); // 180 / PI
529}
530
531// ===== sincos ================================================================
532

Callers 1

FL_TEST_FILEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected