This commit is contained in:
parent
61d1e9f16e
commit
781a0a0391
2
main.js
2
main.js
@ -25,6 +25,8 @@ const material2 = new THREE.LineBasicMaterial( { color: 0x0000ff } );
|
||||
const geometry2 = new THREE.BufferGeometry().setFromPoints( points );
|
||||
const line = new THREE.Line( geometry2, material2 );
|
||||
|
||||
scene.add( line );
|
||||
|
||||
function animate() {
|
||||
requestAnimationFrame( animate );
|
||||
renderer.render( scene, camera );
|
||||
|
Loading…
Reference in New Issue
Block a user