wrap angle?

BlitzMax Forums/BlitzMax Beginners Area/wrap angle?

mod the angle with 360?
ie.
wrap = angle mod 360

note: this doesn't work with negative values, so you'll have to check that first..