diff --git a/src/devkit/MacroDriver.tsx b/src/devkit/MacroDriver.tsx new file mode 100644 index 0000000..88505a4 --- /dev/null +++ b/src/devkit/MacroDriver.tsx @@ -0,0 +1,11 @@ +/** + * DEVKIT — Drives macro recording/playback inside the R3F frame loop. + * Mounted inside . No visual output. + */ +import { useFrame } from '@react-three/fiber'; +import { tickMacro } from './macroStore'; + +export function MacroDriver() { + useFrame(() => { tickMacro(); }); + return null; +}