resize(w, h) {
		// parent consctructor, resize camera rect
		super.resize(w, h);

		// disable damping while resizing
		this.smoothFollow = false;

		// reset everything
		this.setBounds(0, 0, w, h);
		this.setDeadzone(w / 6, h / 6);
		this.update();
		this.smoothFollow = true;

		// update the projection matrix
		this._updateProjectionMatrix();

		// publish the viewport resize event
		eventEmitter.emit(VIEWPORT_ONRESIZE, this.width, this.height);

		return this;
	}
resize the camera
@param {number} w - new width of the camera
@param {number} h - new height of the camera
@returns {Camera2d} this camera