From 4d967490876d602ff79804709f71ddd124794ec8 Mon Sep 17 00:00:00 2001 From: Andras Schmelczer Date: Wed, 10 Jun 2026 22:04:44 +0100 Subject: [PATCH] Format --- src/drawables/shapes/polygon-factory.ts | 6 +++--- src/graphics/graphics-library/parallel-compiler.ts | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/drawables/shapes/polygon-factory.ts b/src/drawables/shapes/polygon-factory.ts index 04f35a1..375d9a6 100644 --- a/src/drawables/shapes/polygon-factory.ts +++ b/src/drawables/shapes/polygon-factory.ts @@ -146,9 +146,9 @@ export const PolygonFactory = ( private get actualVertices(): Array { return this.vertices.length < vertexCount ? ([ - ...this.vertices, - ...new Array(vertexCount - this.vertices.length).fill(this.vertices[0]), - ] as Array) + ...this.vertices, + ...new Array(vertexCount - this.vertices.length).fill(this.vertices[0]), + ] as Array) : this.vertices; } diff --git a/src/graphics/graphics-library/parallel-compiler.ts b/src/graphics/graphics-library/parallel-compiler.ts index 714c423..997b4a2 100644 --- a/src/graphics/graphics-library/parallel-compiler.ts +++ b/src/graphics/graphics-library/parallel-compiler.ts @@ -147,7 +147,8 @@ export class ParallelCompiler { console.error( formatLog( 'parallel-compiler', - `Error: ${error}\nSource (line ${line}):\n${shader.source.split('\n')[line - 1] + `Error: ${error}\nSource (line ${line}):\n${ + shader.source.split('\n')[line - 1] }` ) );