p3nGu1nZz commited on
Commit
1f14940
·
1 Parent(s): e30fbc6

update comments

Browse files
Files changed (1) hide show
  1. index.js +2 -3
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'; // Import the function
8
- import { generateGlyphVerticesForText } from './wgpu-text.js'; // Corrected import statement
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();