b2dr.render(world,demo.camera.combined.scl(PPM)); demo.camera.update();
rayHandler.setCombinedMatrix(viewport.getCamera().combined.scl(PPM),viewport.getCamera().position.x,viewport.getCamera().position.y,viewport.getWorldWidth(),viewport.getWorldHeight());
为什么相机更新后矩阵会重新缩放为非缩放版本,因此我需要为光线处理器组合矩阵重新缩放?