How to use the OrbitControls2 function from three
Find comprehensive JavaScript three.OrbitControls2 code examples handpicked from public code repositorys.
GitHub: kyohei8/threejs-sandbox
31 32 33 34 35 36 37 38 39 40
camera = new THREE.PerspectiveCamera( 80, window.innerWidth / window.innerHeight, 1, 1000 ); camera.position.set(150, 0, 380); //camera scene.add( camera ); //controls = new THREE.OrbitControls2( camera ); //controls.radius = 400; //controls.speed = 3; //
0
0
2
three.Vector3 is the most popular function in three (22341 examples)