/// <summary> /// Creates a GRaff.Angle with a value specified in degrees. /// </summary> /// <param name="degrees">The angle, in degrees</param> /// <returns>the created GRaff.Angle</returns> public static Angle Deg(double degrees) => new Angle(GMath.RoundULong(GMath.Remainder((degrees * degToData), ulong.MaxValue)));
/// <summary> /// Creates a GRaff.Angle with a value specified in radians. /// </summary> /// <param name="radians">The angle, in radians.</param> /// <returns>the created GRaff.Angle</returns> public static Angle Rad(double radians) => new Angle(GMath.RoundULong(GMath.Remainder((radians * radToData), ulong.MaxValue)));