carb::audio::degreesToRadians

Defined in carb/audio/AudioUtils.h

template<typename T>
constexpr float carb::audio::degreesToRadians(T degrees)

converts an angle in degrees to an angle in radians.

Parameters

degrees[in] the angle in degrees to be converted.

Returns

the requested angle in radians.