NocturnalRage / pyangelo.com

Python Graphics Programming in the Browser
2 stars 3 forks source link

MouseX and MouseY Don't Work Using CARTESIAN #91

Closed pingskills closed 3 years ago

pingskills commented 3 years ago

The setCanvasSize function now takes a third parameter which can set the coordinate system to be equivalent to the regular mathematics cartesian plane where y increases as it goes up and hence (0, 0) would be the bottom left of the screen. The mouseX and mouseY variables are not currently converted in this situation but they should be!

pingskills commented 3 years ago

Fixed by PR #92