build/doc: fix typos
now it actually does render
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user