I'm designing a roulette app. I need a way to take my ending rotation, "wheelRotateTo" and find out, in a list of degrees, which are currently in a stack of 36 "segments" on the wheel.
So if the end degree is 355, it should identify the last stack object, because it's
< 360, but greater than the degree of the segment below it..
Likewise, if wheelRotateTo was 339, it should give me the second stack segment down, because it fits there.
This is just driving me crazy. Can someone explain a reasonable way to identify which segment or "Wheel number" it stops on?