orbit-controls-es6
v2.0.1
Published
Threejs orbit controls update for ES6
Downloads
340
Readme
Orbit Controls ES6
Little update to Orbit Controls from three.js to support ES6 modules
Install
npm i orbit-controls-es6 --save
Example
import OrbitControls from 'orbit-controls-es6';
const controls = new OrbitControls(camera, renderer.domElement);
controls.enabled = true;
controls.maxDistance = 1500;
controls.minDistance = 0;