Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Ground
- const planeGeometry = new THREE.PlaneGeometry( 60, 60 );
- const planeMaterial = new THREE.MeshLambertMaterial({ color: 0xffffff });
- const plane = new THREE.Mesh( planeGeometry, planeMaterial );
- plane.rotation.x = -0.5 * Math.PI;
- plane.position.set( 0, -7, 0 );
- scene.add( plane );
Advertisement
Add Comment
Please, Sign In to add comment