Format
All checks were successful
Check / check (push) Successful in 32s
Publish / build (push) Successful in 34s
Publish / publish-npm (push) Has been skipped

This commit is contained in:
Andras Schmelczer 2026-06-10 22:04:44 +01:00
parent 3755177843
commit 4d96749087
2 changed files with 5 additions and 4 deletions

View file

@ -146,9 +146,9 @@ export const PolygonFactory = (
private get actualVertices(): Array<vec2> {
return this.vertices.length < vertexCount
? ([
...this.vertices,
...new Array(vertexCount - this.vertices.length).fill(this.vertices[0]),
] as Array<vec2>)
...this.vertices,
...new Array(vertexCount - this.vertices.length).fill(this.vertices[0]),
] as Array<vec2>)
: this.vertices;
}

View file

@ -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]
}`
)
);