Spaces:
Running
Running
prefix `wgpu-`
Browse files- index.js +3 -3
- config.js → wgpu-config.js +1 -1
- constants.js → wgpu-constants.js +0 -0
- utility.js → wgpu-utility.js +0 -0
index.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import { mat4 } from 'https://webgpufundamentals.org/3rdparty/wgpu-matrix.module.js';
|
2 |
-
import { fetchShaderCode, generateGlyphTextureAtlas, createTextureFromSource } from './utility.js';
|
3 |
-
import { config } from './config.js';
|
4 |
-
import { CANVAS, CTX, COLORS, RENDER_PASS_DESCRIPTOR } from './constants.js';
|
5 |
import { createPipeline } from './wgpu-pipeline.js';
|
6 |
import { createState } from './wgpu-state.js';
|
7 |
|
|
|
1 |
import { mat4 } from 'https://webgpufundamentals.org/3rdparty/wgpu-matrix.module.js';
|
2 |
+
import { fetchShaderCode, generateGlyphTextureAtlas, createTextureFromSource } from './wgpu-utility.js';
|
3 |
+
import { config } from './wgpu-config.js';
|
4 |
+
import { CANVAS, CTX, COLORS, RENDER_PASS_DESCRIPTOR } from './wgpu-constants.js';
|
5 |
import { createPipeline } from './wgpu-pipeline.js';
|
6 |
import { createState } from './wgpu-state.js';
|
7 |
|
config.js → wgpu-config.js
RENAMED
@@ -1,4 +1,4 @@
|
|
1 |
-
// config.js
|
2 |
|
3 |
export const config = {
|
4 |
glyphsAcrossTexture: 16,
|
|
|
1 |
+
// wgpu-config.js
|
2 |
|
3 |
export const config = {
|
4 |
glyphsAcrossTexture: 16,
|
constants.js → wgpu-constants.js
RENAMED
File without changes
|
utility.js → wgpu-utility.js
RENAMED
File without changes
|