Skip to content

Instantly share code, notes, and snippets.

@Katharsas
Katharsas / OrbitControls.js
Last active July 27, 2016 12:22 — forked from mrflix/OrbitControls.js
Updated to three.js OrbitControls r74 (Apr 2016) ------------- Three.OrbitControls for multiple instances on a page.Usage: controls = new THREE.OrbitControls(camera, document, renderer.domElement); Based on: http://threejs.org/examples/js/controls/OrbitControls.js
/**
* @author qiao / https://github.com/qiao
* @author mrdoob / http://mrdoob.com
* @author alteredq / http://alteredqualia.com/
* @author WestLangley / http://github.com/WestLangley
* @author erich666 / http://erichaines.com
* @author mrflix / http://felixniklas.de
*
* released under MIT License (MIT)
*/