toDegrees

Converts angles in radians to degrees

@safe @nogc pure nothrow
T
toDegrees
(
T = float
)
(
in T x
)
if (
__traits(isFloating, T)
)

Parameters

x T

Angle in radians REturns angle in grades

Meta