Synced
MathHelper.WrapAngle
Section titled “MathHelper.WrapAngle”
- Reduces a given angle to a value between π and -π.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Core.Mathematics
Declaration
Section titled “Declaration”public static float Inno.Core.Mathematics.MathHelper.WrapAngle(float angle)Parameters
Section titled “Parameters”Parameter angle: The angle to reduce, in radians.
Returns
Section titled “Returns”The new angle, in radians.