Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jsantell/three-orbit-controls
Personal fork of THREE.OrbitControls hosted on npm as @jsantell/three-orbit-controls
https://github.com/jsantell/three-orbit-controls
Last synced: about 1 month ago
JSON representation
Personal fork of THREE.OrbitControls hosted on npm as @jsantell/three-orbit-controls
- Host: GitHub
- URL: https://github.com/jsantell/three-orbit-controls
- Owner: jsantell
- License: mit
- Created: 2018-04-21T03:50:41.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-04-21T19:25:40.000Z (over 6 years ago)
- Last Synced: 2024-11-16T21:49:14.056Z (about 2 months ago)
- Language: JavaScript
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# three-orbit-controls
[![Build Status](http://img.shields.io/npm/v/@jsantell/three-orbit-controls.svg?style=flat-square)](https://www.npmjs.org/package/@jsantell/three-orbit-controls)
Personal fork of [THREE.OrbitControls](https://github.com/mrdoob/three.js/blob/master/examples/js/controls/OrbitControls.js) hosted on [npm](https://npmjs.org) as [@jsantell/three-orbit-controls](https://www.npmjs.org/package/@jsantell/three-orbit-controls). ES6-ified for inclusion via module bundler.
## Installation
`$ npm install --save @jsantell/three-orbit-controls`
## Usage
```js
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