upd
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simple_Not 2023-08-02 00:37:09 +10:00
parent 5b58c7302a
commit 9315d3550a

View File

@ -15,6 +15,13 @@ scene.add( cube );
camera.position.z = 5; camera.position.z = 5;
const points = [];
points.push( new THREE.Vector3( - 10, 0, 0 ) );
points.push( new THREE.Vector3( 0, 10, 0 ) );
points.push( new THREE.Vector3( 10, 0, 0 ) );
const geometry2 = new THREE.BufferGeometry().setFromPoints( points );
function animate() { function animate() {
requestAnimationFrame( animate ); requestAnimationFrame( animate );
renderer.render( scene, camera ); renderer.render( scene, camera );