Skip to content

Instantly share code, notes, and snippets.

View SpamLicker's full-sized avatar

Carl Guyenette SpamLicker

View GitHub Profile
@SpamLicker
SpamLicker / gist:aedf167658f1d16adbc3
Last active September 7, 2015 16:51 — forked from paulkaplan/gist:5770247
Orbit Controls with momentum and damping for THREE.js
/**
* @author qiao / https://github.com/qiao
* @author mrdoob / http://mrdoob.com
* @author alteredq / http://alteredqualia.com/
* @author WestLangley / http://github.com/WestLangley
*
* customized for momentum (zoom and phi/delta) by paulkaplan
*/
THREE.OrbitControls = function ( object, domElement ) {