style: prettier reflow pylon config and lighting effect

Mechanical formatting cleanup carried over from the develop merge:
inline single-line tuples and break long lines per project prettier
config. No behavior change.
This commit is contained in:
Tom Boullay
2026-06-03 00:03:59 +02:00
parent c6283d492c
commit 974f340d33
3 changed files with 7 additions and 12 deletions
@@ -20,14 +20,17 @@ export function PylonLightingEffect(): null {
const step = useGameStore((state) => state.pylon.currentStep);
// True from "approaching" until narrator-outro (lighting resets before the outro audio)
const isActive = mainState === "pylon" && step !== "locked" && step !== "narrator-outro";
const isActive =
mainState === "pylon" && step !== "locked" && step !== "narrator-outro";
// Working THREE.Color instances — lerped every frame
const ambientRef = useRef(new THREE.Color(LIGHTING_STATE.ambientColor));
const sunRef = useRef(new THREE.Color(LIGHTING_STATE.sunColor));
// Target colours — updated reactively when isActive changes
const targetAmbientRef = useRef(new THREE.Color(LIGHTING_DEFAULTS.ambientColor));
const targetAmbientRef = useRef(
new THREE.Color(LIGHTING_DEFAULTS.ambientColor),
);
const targetSunRef = useRef(new THREE.Color(LIGHTING_DEFAULTS.sunColor));
useEffect(() => {