toRadians

Converts angles in degrees to radians

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

Parameters

x T

Angle in grades Returns angle in radians

Meta