move example stuff to its own dir

This commit is contained in:
Rowan 2025-04-22 21:42:03 -05:00
parent 0763a35a65
commit 80704056b1
2 changed files with 2 additions and 2 deletions

View file

@ -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'))