How to use the ArcballControls function from three
Find comprehensive JavaScript three.ArcballControls code examples handpicked from public code repositorys.
63 64 65 66 67 68 69 70 71
this.scene.add(directionalLight2); this.scene.add(ambientLight); //this.scene.add(this.camera); //this.controls = new THREE.TrackballControls(this.camera, this.container); this.controls = new THREE.ArcballControls(this.camera, this.container.get( 0)); this.controls.zoomInto = function() {}; this.controls.handleResize = function() {};
17
78
8
+ 20 other calls in file
three.Vector3 is the most popular function in three (22341 examples)