I'm making a game where you're a bird gliding about, and you accelerate faster when you're facing downwards (angle:90) and you decelerate when you're closer to facing upwards (angle:270). I'm trying to base acceleration off of angle, but I can't account for the fact that angles wrap around from 360 back to 0. Is there a way to measure angle distance? I.E. the distance from angle 270 and 0 being 90?