This commit is contained in:
parent
9b928a8052
commit
5b58c7302a
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, 2, 1 );
|
||||
const material = new THREE.MeshBasicMaterial( { color: 0x33ff00 } );
|
||||
const material = new THREE.MeshBasicMaterial( { color: 0x277BC0 } );
|
||||
const cube = new THREE.Mesh( geometry, material );
|
||||
scene.add( cube );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user