AdamsLair / duality

a 2D Game Development Framework
https://adamslair.github.io/duality
MIT License
1.41k stars 290 forks source link

Management of TargetRect in GetWorld/ScreenPos #691

Closed SirePi closed 5 years ago

SirePi commented 5 years ago

These changes apply the correct screen space transformation required to correctly map from the Duality window to the virtual viewport described by the Camera's TargetRect property.

These changes are required for the correct implementation of PR #688.