Esempio n. 1
0
 static void adjustWorldPosition( Camera camera )
 {
     _mouseWorldPos = Vector2.Transform( ScreenPosition, Matrix.Invert( camera.Matrix ) ) ;
     _mouseWorldPos = _mouseWorldPos.Round( ) ;
 }