public void transform(double x, double y, int cameraIdx) {
		Camera camera = this.scnSrv.getCamera(cameraIdx);
		if (cameraIdx < 0 || cameraIdx >= this.scnSrv.numCameras()) {
			throw new IllegalArgumentException("camera index out of range: " + cameraIdx);
		}
		
		v.x = x - this.halfWidth;
		v.y = y - this.halfHeight;
		v.scale(1.0 / camera.getZoom());
		v.rotate(camera.getAngle());
		v.x += camera.getPosX();
		v.y += camera.getPosY();
	}