fixed paths.
This commit is contained in:
@@ -23,7 +23,7 @@ body{
|
|||||||
</style>
|
</style>
|
||||||
<script type="module">
|
<script type="module">
|
||||||
|
|
||||||
import { ParticleSimulation } from "/demos/WebGpuFrameworkWasm/rayTracingWebGpuWasm.js";
|
import { ParticleSimulation } from "./rayTracingWebGpuWasm.js";
|
||||||
|
|
||||||
|
|
||||||
var particleSimulation = new ParticleSimulation();
|
var particleSimulation = new ParticleSimulation();
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ body{
|
|||||||
</style>
|
</style>
|
||||||
<script type="module">
|
<script type="module">
|
||||||
|
|
||||||
import { ParticleSimulation } from "/demos/webGpuFrameworkAndWasmParticles/particlesWasmWebGpu.js";
|
import { ParticleSimulation } from "./particlesWasmWebGpu.js";
|
||||||
|
|
||||||
|
|
||||||
var particleSimulation = new ParticleSimulation();
|
var particleSimulation = new ParticleSimulation();
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
<canvas id="gpu-canvas"></canvas>
|
<canvas id="gpu-canvas"></canvas>
|
||||||
|
|
||||||
<script type="module">
|
<script type="module">
|
||||||
import WasmModule from '/demos/webGpuNativeWasm/wasm_renderer.js';
|
import WasmModule from './wasm_renderer.js';
|
||||||
|
|
||||||
async function main() {
|
async function main() {
|
||||||
const canvas = document.getElementById('gpu-canvas');
|
const canvas = document.getElementById('gpu-canvas');
|
||||||
|
|||||||
Reference in New Issue
Block a user