|
@@ -25,7 +25,7 @@ The aim of the project is to create an easy to use, lightweight, 3D library with
|
|
|
This code creates a scene, a camera, and a geometric cube, and it adds the cube to the scene. It then creates a `WebGL` renderer for the scene and camera, and it adds that viewport to the `document.body` element. Finally, it animates the cube within the scene for the camera.
|
|
|
|
|
|
```javascript
|
|
|
-import * as THREE from 'js/three.module.js';
|
|
|
+import * as THREE from './js/three.module.js';
|
|
|
|
|
|
var camera, scene, renderer;
|
|
|
var geometry, material, mesh;
|