@jsantell/three-orbit-controls
v1.0.0
Published
Personal fork of THREE.OrbitControls
Downloads
9
Readme
three-orbit-controls
Personal fork of THREE.OrbitControls hosted on npm as @jsantell/three-orbit-controls. ES6-ified for inclusion via module bundler.
Installation
$ npm install --save @jsantell/three-orbit-controls
Usage
import { PerspectiveCamera, WebGLRenderer } from 'three';
import OrbitControls from '@jsantell/three-orbit-controls';
const renderer = new WebGLRenderer();
const controls = new OrbitControls(new PerspectiveCamera(), renderer.domElement || document);
Build
$ npm run build
Publish
$ npm run version
License
MIT License, Copyright © 2010-2018 three.js authors