Spaces:
Running
Running
fix
Browse files- index.html +1 -1
index.html
CHANGED
@@ -19,7 +19,7 @@
|
|
19 |
const glyphWidth = 32;
|
20 |
const glyphHeight = 40;
|
21 |
const glyphsAcrossTexture = 16;
|
22 |
-
function
|
23 |
const canvas = document.createElement('canvas');
|
24 |
canvas.width = 512;
|
25 |
canvas.height = 256;
|
|
|
19 |
const glyphWidth = 32;
|
20 |
const glyphHeight = 40;
|
21 |
const glyphsAcrossTexture = 16;
|
22 |
+
function genreateGlyphTextureAtlas() {
|
23 |
const canvas = document.createElement('canvas');
|
24 |
canvas.width = 512;
|
25 |
canvas.height = 256;
|