trheejs cube mesh

Solutions on MaxInterview for trheejs cube mesh by the best coders in the world

showing results for - "trheejs cube mesh"
Sofia
02 Nov 2018
1const geometry = new THREE.BoxGeometry( 1, 1, 1 );
2const material = new THREE.MeshBasicMaterial( {color: 0x00ff00} );
3const cube = new THREE.Mesh( geometry, material );
4scene.add( cube );