build/doc: fix typos

now it actually does render
This commit is contained in:
2024-02-03 04:20:28 +00:00
parent ddc87b8ec7
commit 906b94fc4f

View File

@@ -1,6 +1,5 @@
<html>
<head>
<!-- based on three.js example here: <https://jsfiddle.net/2nyxkmco/> -->
<script type="importmap">
{
"imports": {
@@ -8,10 +7,11 @@
}
}
</script>
<head>
</head>
<body>
<script type="javascript">
<!-- based on three.js example here: <https://jsfiddle.net/2nyxkmco/> -->
<script type="module">
import * as THREE from 'three';
const width = window.innerWidth, height = window.innerHeight;
@@ -42,5 +42,6 @@
renderer.render( scene, camera );
}
</script>
</body>
</html>