Commit 0090deb7 authored by Arif's avatar Arif
Browse files

Update 1-Cube.html

parent db9560ab
Pipeline #8344 passed with stage
in 4 seconds
...@@ -36,7 +36,7 @@ const materials = [ ...@@ -36,7 +36,7 @@ const materials = [
// Create the cube and add it to the demo scene. // Create the cube and add it to the demo scene.
const cube = new THREE.Mesh(new THREE.BoxBufferGeometry(0.5, 0.5, 0.5), materials); const cube = new THREE.Mesh(new THREE.BoxBufferGeometry(0.5, 0.5, 0.5), materials);
cube.position.set(0, 0, -1); cube.position.set(0, 0, -5);
scene.add(cube); scene.add(cube);
// Set up the WebGLRenderer, which handles rendering to the session's base layer. // Set up the WebGLRenderer, which handles rendering to the session's base layer.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment