Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Converts degrees to radians.

API: engine
Project: Inno.Core.Mathematics

public static float Inno.Core.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.