fixed paths.

This commit is contained in:
2025-12-29 20:29:45 +01:00
parent 8099cd9950
commit 9ef76e1dba
3 changed files with 3 additions and 3 deletions

View File

@@ -23,7 +23,7 @@ body{
</style>
<script type="module">
import { ParticleSimulation } from "/demos/WebGpuFrameworkWasm/rayTracingWebGpuWasm.js";
import { ParticleSimulation } from "./rayTracingWebGpuWasm.js";
var particleSimulation = new ParticleSimulation();

View File

@@ -24,7 +24,7 @@ body{
</style>
<script type="module">
import { ParticleSimulation } from "/demos/webGpuFrameworkAndWasmParticles/particlesWasmWebGpu.js";
import { ParticleSimulation } from "./particlesWasmWebGpu.js";
var particleSimulation = new ParticleSimulation();

View File

@@ -32,7 +32,7 @@
<canvas id="gpu-canvas"></canvas>
<script type="module">
import WasmModule from '/demos/webGpuNativeWasm/wasm_renderer.js';
import WasmModule from './wasm_renderer.js';
async function main() {
const canvas = document.getElementById('gpu-canvas');