aaronze / ProtogenOS

0 stars 0 forks source link

Refactor all co-ordinate systems to be screen space -1...1 #11

Closed aaronze closed 3 months ago

aaronze commented 3 months ago

Right now the project is using pixel space for the HUB75. That's been useful, but it will fall apart when rendering on other devices. Normalizing the space to be x -1 to 1 and y -1 to 1 will make it consistent, if awkward, to render on other form factors. It should also allow us to remove passing down width and height to components that have no business knowing the panel specifications.