Commit 34b1fcb3 authored by Arif's avatar Arif
Browse files

Update 1-Cube.html

parent 313c8f2f
Pipeline #8314 passed with stage
in 4 seconds
...@@ -35,7 +35,7 @@ const materials = [ ...@@ -35,7 +35,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.3, 0.3, 0.3), materials);
cube.position.set(0, 0, -1); cube.position.set(0, 0, -1);
scene.add(cube); scene.add(cube);
......
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