Skip to content

Commit 3811004

Browse files
committed
Fix invertY
1 parent 3287773 commit 3811004

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/enginewrap/coord_adapter.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ func (pself *PhysicMgrImpl) CheckCollisionCircle(pos Vec2, radius float64, colli
121121
// InputMgr Coordinate Adapters
122122
// ============================================================================
123123

124-
func (pself *InputMgrImpl) GetMousePos() Vec2 {
125-
return flipY(pself.inputMgrImpl.GetMousePos())
124+
func (pself *InputMgrImpl) GetGlobalMousePos() Vec2 {
125+
return flipY(pself.inputMgrImpl.GetGlobalMousePos())
126126
}
127127

128128
// ============================================================================

0 commit comments

Comments
 (0)