has anyone made an API for rotation?
- slime
- Solid Snayke
- Posts: 3163
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: has anyone made an API for rotation?
The half-width/height offset arguments essentially changes the love.graphics.draw function to use 'centric' coordinates, which match love.physics/box2d.
- BlackBulletIV
- Inner party member
- Posts: 1261
- Joined: Wed Dec 29, 2010 8:19 pm
- Location: Queensland, Australia
- Contact:
Re: has anyone made an API for rotation?
Yes I know, and that's precisely why I'm adding half-width/height to the top-left coordinates to change them into centric coordinates.
-
- Prole
- Posts: 18
- Joined: Fri Dec 16, 2011 11:29 pm
Re: has anyone made an API for rotation?
this topic clarified things a lot, thanks for the help
Who is online
Users browsing this forum: Ahrefs [Bot] and 4 guests