Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Converts degrees to radians.

API: scripting
Project: Inno.Core.Mathematics
Scope: Runtime

public static float InnoEngine.Mathematics.MathHelper.ToRadians(float degrees)

The angle in radians.

This method uses double precision internally, though it returns single float Factor = pi / 180

Parameter degrees: The degrees consumed by to radians; ownership remains with the caller unless explicitly stated otherwise.