g.normalizeAngle(angle)

Convert the angle to the range [0, 360].