From 80704056b1b6c5c31c55c290422e387d37a9c737 Mon Sep 17 00:00:00 2001 From: rowan Date: Tue, 22 Apr 2025 21:42:03 -0500 Subject: [PATCH] move example stuff to its own dir --- index.html => example/index.html | 0 index.js => example/index.js | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename index.html => example/index.html (100%) rename index.js => example/index.js (97%) diff --git a/index.html b/example/index.html similarity index 100% rename from index.html rename to example/index.html diff --git a/index.js b/example/index.js similarity index 97% rename from index.js rename to example/index.js index 86eadcc..ca7d63f 100644 --- a/index.js +++ b/example/index.js @@ -1,5 +1,5 @@ -import { GraphicsDevice } from './src/core/graphics-device.js' -import { PowerPreference, VertexFormat } from './src/enum.js' +import { GraphicsDevice } from '../src/core/graphics-device.js' +import { PowerPreference, VertexFormat } from '../src/enum.js' async function main() { const canvas = /** @type {HTMLCanvasElement} */ (document.getElementById('webgpu-canvas'))