summaryrefslogtreecommitdiffstats
path: root/src/view/renderer
diff options
context:
space:
mode:
Diffstat (limited to 'src/view/renderer')
-rw-r--r--src/view/renderer/renderer.ts (renamed from src/view/renderer/Renderer.ts)6
-rw-r--r--src/view/renderer/shaders.ts (renamed from src/view/renderer/Shaders.ts)6
-rw-r--r--src/view/renderer/shaders/default.fs (renamed from src/view/renderer/default.fs)0
-rw-r--r--src/view/renderer/shaders/default.vs (renamed from src/view/renderer/default.vs)0
4 files changed, 6 insertions, 6 deletions
diff --git a/src/view/renderer/Renderer.ts b/src/view/renderer/renderer.ts
index 75dc265..062c868 100644
--- a/src/view/renderer/Renderer.ts
+++ b/src/view/renderer/renderer.ts
@@ -1,8 +1,8 @@
-import { mat4, vec2 } from 'gl-matrix';
+import { Shaders } from './shaders';
-import Shaders from './Shaders';
+import { mat4, vec2 } from 'gl-matrix';
-export default class Renderer {
+export class Renderer {
private readonly viewScale = 64;
private readonly gl: WebGLRenderingContext;
diff --git a/src/view/renderer/Shaders.ts b/src/view/renderer/shaders.ts
index da75a18..8fd1fda 100644
--- a/src/view/renderer/Shaders.ts
+++ b/src/view/renderer/shaders.ts
@@ -1,7 +1,7 @@
-import fragmentShaderSrc from './default.fs';
-import vertexShaderSrc from './default.vs';
+import fragmentShaderSrc from './shaders/default.fs';
+import vertexShaderSrc from './shaders/default.vs';
-export default class Shaders {
+export class Shaders {
public readonly viewportLoc: WebGLUniformLocation;
public readonly translateLoc: WebGLUniformLocation;
diff --git a/src/view/renderer/default.fs b/src/view/renderer/shaders/default.fs
index 2c8ad15..2c8ad15 100644
--- a/src/view/renderer/default.fs
+++ b/src/view/renderer/shaders/default.fs
diff --git a/src/view/renderer/default.vs b/src/view/renderer/shaders/default.vs
index 4715a17..4715a17 100644
--- a/src/view/renderer/default.vs
+++ b/src/view/renderer/shaders/default.vs