Fixed inverted Mouse-Y in World
This commit is contained in:
parent
fd53c73fa7
commit
0ab7f29b06
2 changed files with 4 additions and 1 deletions
|
|
@ -23,6 +23,7 @@ namespace SM2D.Controls
|
|||
public Vector2 InWorld()
|
||||
{
|
||||
var res = _window.WorldScale;
|
||||
res.Y *= -1;
|
||||
return InScreenNormalized * res - res / 2;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue