Off the top of my head...how about something like taking the sin & cos of each angle sample, averaging those numbers, and then converting the sin & cos average result back to an angle. I don't remember what that's called at the moment, sum of the squares, something along those lines...





Bookmarks