compare angle and up in strange behavior
问题 i have a func to compare angles.. if the angles si between the range -5/+5deg from the starting heading this should return Color .green otherwise should return .orange. i simplify the project so it can be easy to use in swift Playground. here my fun: func convertToPositiveAngle(_ angle : Angle) -> Angle { var toRet = Angle(degrees: fmod(angle.degrees, 360)) if toRet.degrees < 0 { toRet.degrees += 360.0; } return toRet } let headingStart = 3.0 let currentHeading = 3.0 func centro(startHeading