diff --git a/files/en-us/learn/javascript/client-side_web_apis/drawing_graphics/index.html b/files/en-us/learn/javascript/client-side_web_apis/drawing_graphics/index.html index 65d767ca45c825c..a1b088af5cd8e43 100644 --- a/files/en-us/learn/javascript/client-side_web_apis/drawing_graphics/index.html +++ b/files/en-us/learn/javascript/client-side_web_apis/drawing_graphics/index.html @@ -744,7 +744,7 @@

Recreating our cube

const scene = new THREE.Scene();
-

The Scene() constructor creates a new scene, which represents the whole 3D world we are trying to display.

+

The Scene() constructor creates a new scene, which represents the whole 3D world we are trying to display.

  • Next, we need a camera so we can see the scene. In 3D imagery terms, the camera represents a viewer's position in the world. To create a camera, add the following lines next:

    @@ -753,7 +753,7 @@

    Recreating our cube

    camera.position.z = 5; -

    The PerspectiveCamera() constructor takes four arguments:

    +

    The PerspectiveCamera() constructor takes four arguments: