Skip to content

A THREE.js and RequireJS compatible version of OrbitControls

Notifications You must be signed in to change notification settings

mozeal/OrbitControls

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

OrbitControls

This is a RequireJS / Browserify compatible fork of OrbitControls. See the THREE.js example for how it behaves.

This library does NOT modify the THREE object. The original OrbitControls defines this addon as "THREE.OrbitControls". This fork does not and leaves it as its own object.

Usage

var OrbitControls = require('OrbitControls.js');
var controls = new OrbitControls( camera, domElement );

Additionally, this library defines a destroy method to remove the control bindings from the DOM element and window.

controls.destroy();

About

A THREE.js and RequireJS compatible version of OrbitControls

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%