format files

This commit is contained in:
Maze Winther
2026-01-27 16:50:03 +01:00
parent fd5a53fc99
commit dd463ddc86
2 changed files with 10 additions and 2 deletions
+5 -1
View File
@@ -1116,7 +1116,11 @@ scene-exporter.ts
audioBuffer, audioBuffer,
}: ExportParams) }: ExportParams)
cancel(): void cancel(): void
async export({ rootNode }: { rootNode: RootNode }): Promise<ArrayBuffer | null> async export({
rootNode,
}: {
rootNode: RootNode;
}): Promise<ArrayBuffer | null>
} }
## apps/web/src/services/storage ## apps/web/src/services/storage
@@ -77,7 +77,11 @@ export class SceneExporter extends EventEmitter<SceneExporterEvents> {
this.isCancelled = true; this.isCancelled = true;
} }
async export({ rootNode }: { rootNode: RootNode }): Promise<ArrayBuffer | null> { async export({
rootNode,
}: {
rootNode: RootNode;
}): Promise<ArrayBuffer | null> {
const { fps } = this.renderer; const { fps } = this.renderer;
const frameCount = Math.ceil(rootNode.duration * fps); const frameCount = Math.ceil(rootNode.duration * fps);