MCPcopy Create free account
hub / github.com/Fennec-hub/three-wfc / constructor

Method constructor

lib/WFCStackBuffer.ts:7–13  ·  view source on GitHub ↗
(count: number)

Source from the content-addressed store, hash-verified

5 private tail: number;
6
7 constructor(count: number) {
8 this.buffer = new Uint32Array(count);
9 this.bitset = new Uint8Array(count);
10
11 this.size = 0;
12 this.tail = 0;
13 }
14
15 push(value: number): void {
16 if (this.bitset[value]) return;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected