aboutsummaryrefslogtreecommitdiff
path: root/web/pw-visualizer/src/assets.ts
diff options
context:
space:
mode:
authorIlion Beyst <ilion.beyst@gmail.com>2021-12-29 22:54:30 +0100
committerIlion Beyst <ilion.beyst@gmail.com>2021-12-29 22:54:30 +0100
commit71ee6c99e963d96286cae8d0bfc2f20a9c9c920b (patch)
treec4d290c4a658853436477cb07cd469684c64f8e3 /web/pw-visualizer/src/assets.ts
parent0c6d978442b244ca3f29c1ffdd44b5007ae7ad93 (diff)
downloadplanetwars.dev-71ee6c99e963d96286cae8d0bfc2f20a9c9c920b.tar.xz
planetwars.dev-71ee6c99e963d96286cae8d0bfc2f20a9c9c920b.zip
move assets to visualizer package
Diffstat (limited to 'web/pw-visualizer/src/assets.ts')
-rw-r--r--web/pw-visualizer/src/assets.ts15
1 files changed, 15 insertions, 0 deletions
diff --git a/web/pw-visualizer/src/assets.ts b/web/pw-visualizer/src/assets.ts
new file mode 100644
index 0000000..e04f2c1
--- /dev/null
+++ b/web/pw-visualizer/src/assets.ts
@@ -0,0 +1,15 @@
+export {default as shipSvg} from "../assets/res/ship.svg";
+
+export {default as earthSvg} from "../assets/res/earth.svg";
+export {default as marsSvg} from "../assets/res/mars.svg";
+export {default as venusSvg} from "../assets/res/venus.svg";
+
+export {default as fontPng} from "../assets/res/font.png";
+
+export {default as imageFragmentShader} from "../assets/shaders/frag/image.glsl?url";
+export {default as simpleFragmentShader} from "../assets/shaders/frag/simple.glsl?url";
+export {default as vorFragmentShader} from "../assets/shaders/frag/vor.glsl?url";
+
+export {default as imageVertexShader} from "../assets/shaders/vert/image.glsl?url";
+export {default as simpleVertexShader} from "../assets/shaders/vert/simple.glsl?url";
+export {default as vorVertexShader} from "../assets/shaders/vert/vor.glsl?url"; \ No newline at end of file