PurpleKingdomGames / indigo

An FP game engine for Scala.
https://indigoengine.io/
MIT License
648 stars 60 forks source link

GameViewport type improvements #744

Open davesmith00000 opened 6 months ago

davesmith00000 commented 6 months ago

Perhaps GameViewport can just be an opaque type equal to Size, and export (using Scala 3 export) all of Size's methods?

At the moment, you can't do GameViewport(..) / 2, but you can with a Size.