internal static Vector2 ScreenToWorldPosition( Camera cam, Vector2 point )
        {
            if( cam == null )
                return Vector2.Zero;

            Matrix mx = Matrix.Invert( cam.View );
            return Vector2.Transform( point, mx );
        }
 internal LunarGame( GameManager gameManager, GraphicsDeviceManager gfx )
 {
     _gameManager = gameManager;
     _spriteBatch = new SpriteBatch( gfx.GraphicsDevice );
     _camera = new Camera( gfx.GraphicsDevice.Viewport );
 }
 public static Vector2 ScreenToWorldPosition( Camera cam, float x, float y )
 {
     return ScreenToWorldPosition( cam, new Vector2( x, y ) );
 }