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
commit 4d96749087

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;
}