From 063455903434e3df9547a6c561e5256828ddf5ef Mon Sep 17 00:00:00 2001 From: Chris Mills Date: Tue, 23 Feb 2021 07:30:19 +0000 Subject: [PATCH] fixing broken Three.js links --- .../client-side_web_apis/drawing_graphics/index.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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: