Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Thanks, switching those functions and changing the degrees to radians fixed it. Would I be best off just rotating the .png file or do you know of a simple way to make angle 0 point upwards?