Synced
MathHelper.ToRadians
Section titled “MathHelper.ToRadians”
- Converts degrees to radians.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Core.Mathematics
Scope: Runtime
Declaration
Section titled “Declaration”public static float InnoEngine.Mathematics.MathHelper.ToRadians(float degrees)Returns
Section titled “Returns”The angle in radians.
Remarks
Section titled “Remarks”This method uses double precision internally, though it returns single float Factor = pi / 180
Parameters
Section titled “Parameters”Parameter degrees: The degrees consumed by to radians; ownership remains with the caller unless explicitly stated otherwise.