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

This commit is contained in:
Andras Schmelczer 2026-06-11 08:19:25 +01:00
parent 94206f299e
commit 12121ab49f

View file

@ -148,9 +148,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;
}