Is it necessary to add a camera to a scene if it is already being passed to the render method? I've noticed that many examples in the repository, such as webgl_geometries, include adding the camera to the scene. However, when I removed scene.add( camera )
, the code still functions correctly...
init function
camera = new THREE.PerspectiveCamera( 45, window.innerWidth / window.innerHeight, 1, 2000 );
camera.position.y = 400;
scene.add( camera );
render function
renderer.render( scene, camera );