robashton / camera

Just a camera implementation over the top of HTML5 canvas
http://codeofrob.com
96 stars 19 forks source link

Add rotate function #9

Closed JuxtNorth closed 8 months ago

kylehue commented 8 months ago

won't this break the x and y position of the mouse?

JuxtNorth commented 8 months ago

won't this break the x and y position of the mouse?

Good call, This PR needs more work. Perhaps, a vector rotation would be sufficient.