Skip to content

smcllns/orbit-controls-es6

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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;

About

Threejs orbit controls update for ES6

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%