Spaces:
Running
Running
update comments
Browse files
index.js
CHANGED
@@ -4,8 +4,8 @@ import { createState } from './wgpu-state.js';
|
|
4 |
import { generateGlyphTextureAtlas, createTextureFromSource } from './wgpu-utility.js';
|
5 |
import { createPipeline } from './wgpu-pipeline.js';
|
6 |
import { fetchShaderCode } from './wgpu-shader.js';
|
7 |
-
import { GenerateVertexDataAndTexture } from './wgpu-texture.js';
|
8 |
-
import { generateGlyphVerticesForText } from './wgpu-text.js';
|
9 |
import { config } from './wgpu-config.js';
|
10 |
import { CANVAS, CTX, COLORS, RENDER_PASS_DESCRIPTOR } from './wgpu-constants.js';
|
11 |
|
@@ -145,4 +145,3 @@ function Render(alpha, context) {
|
|
145 |
|
146 |
// Initialize application
|
147 |
Main();
|
148 |
-
|
|
|
4 |
import { generateGlyphTextureAtlas, createTextureFromSource } from './wgpu-utility.js';
|
5 |
import { createPipeline } from './wgpu-pipeline.js';
|
6 |
import { fetchShaderCode } from './wgpu-shader.js';
|
7 |
+
import { GenerateVertexDataAndTexture } from './wgpu-texture.js';
|
8 |
+
import { generateGlyphVerticesForText } from './wgpu-text.js';
|
9 |
import { config } from './wgpu-config.js';
|
10 |
import { CANVAS, CTX, COLORS, RENDER_PASS_DESCRIPTOR } from './wgpu-constants.js';
|
11 |
|
|
|
145 |
|
146 |
// Initialize application
|
147 |
Main();
|
|