threejs-orbit-controls

1.0.3 • Public • Published

Orbit Controls ES6

Little update to Orbit Controls from three.js to support ES6 modules

Install

npm i threejs-orbit-controls --save

Example

import OrbitControls from 'threejs-orbit-controls';
 
const controls = new OrbitControls(camera, renderer.domElement);
controls.enabled = true;
controls.maxDistance = 1500;
controls.minDistance = 0;

Readme

Keywords

none

Package Sidebar

Install

npm i threejs-orbit-controls

Weekly Downloads

14

Version

1.0.3

License

Unlicense

Unpacked Size

69.6 kB

Total Files

6

Last publish

Collaborators

  • dabolus