https://threejs.org/manual/#en/scenegraph
const fov = 40; const aspect = 2; // the canvas default const near = 0.1; const far = 1000; const camera = new THREE.PerspectiveCamera( fov, aspect, near, far ); camera.position.set( 0, 50, 0 ); camera.up.set( 0, 0, 1 ); camera.lookAt( 0, 0, 0 );
Last updated 1 year ago