This commit is contained in:
parent
42164ce017
commit
7fae53983e
2
main.js
2
main.js
@ -9,7 +9,7 @@ renderer.setSize( window.innerWidth, window.innerHeight );
|
||||
document.body.appendChild( renderer.domElement );
|
||||
|
||||
const geometry = new THREE.BoxGeometry( 1, 1, 1 );
|
||||
const material = new THREE.MeshBasicMaterial( { color: 0x00ff00 } );
|
||||
const material = new THREE.MeshBasicMaterial( { color: 0x03ff00 } );
|
||||
const cube = new THREE.Mesh( geometry, material );
|
||||
scene.add( cube );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user