Spaces:
Running
Running
tidy
Browse files- index.html +0 -4
- utility.js +1 -1
index.html
CHANGED
@@ -230,12 +230,8 @@
|
|
230 |
device.queue.submit([encoder.finish()]);
|
231 |
requestAnimationFrame(render);
|
232 |
}
|
233 |
-
|
234 |
requestAnimationFrame(render);
|
235 |
}
|
236 |
-
function fail(msg) {
|
237 |
-
alert(msg);
|
238 |
-
}
|
239 |
main();
|
240 |
</script>
|
241 |
</body>
|
|
|
230 |
device.queue.submit([encoder.finish()]);
|
231 |
requestAnimationFrame(render);
|
232 |
}
|
|
|
233 |
requestAnimationFrame(render);
|
234 |
}
|
|
|
|
|
|
|
235 |
main();
|
236 |
</script>
|
237 |
</body>
|
utility.js
CHANGED
@@ -3,4 +3,4 @@
|
|
3 |
export async function fetchShaderCode(url) {
|
4 |
const response = await fetch(url);
|
5 |
return await response.text();
|
6 |
-
}
|
|
|
3 |
export async function fetchShaderCode(url) {
|
4 |
const response = await fetch(url);
|
5 |
return await response.text();
|
6 |
+
}
|