We've had a few bugs from dealing with coordinates in the wrong space, like physical vs logical pixels.
Winit has PhysicalSize and LogicalSize types to help with this. I think we could make a little generic wrapper for each coordinate space to help make sure we're getting these things right.
We've had a few bugs from dealing with coordinates in the wrong space, like physical vs logical pixels.
Winit has
PhysicalSize
andLogicalSize
types to help with this. I think we could make a little generic wrapper for each coordinate space to help make sure we're getting these things right.