fix(scene): keep the lens fixed through exit cuts so signs hold their placement

This commit is contained in:
2026-10-10 20:31:16 +03:00
parent f842d6df3a
commit 300ebac68a

View File

@@ -559,7 +559,7 @@ export async function createProceduralSceneGeneration(
);
camera.rotation.z += cameraState.roll * crane;
const lensFov =
THREE.MathUtils.lerp(30, cameraState.fov, crane) + cut * 6;
THREE.MathUtils.lerp(30, cameraState.fov, crane);
if (Math.abs(camera.fov - lensFov) > 0.001) {
camera.fov = lensFov;
camera.updateProjectionMatrix();