()
| 187 | let vertexCount = 0; |
| 188 | |
| 189 | const assertNotDisposed = (): void => { |
| 190 | if (disposed) throw new Error('GridRenderer is disposed.'); |
| 191 | }; |
| 192 | |
| 193 | const prepare: GridRenderer['prepare'] = (gridArea, lineCountOrOptions) => { |
| 194 | assertNotDisposed(); |