three-fly-controls
Version:
three.js fly controls module
23 lines (11 loc) • 364 B
Markdown
three-fly-controls
===========================
Three.js fly controls, adapted from http://threejs.org/examples/js/controls/FlyControls.js
## usage
```npm install three-fly-controls```
```js
var THREE = require('three.js');
// Add the plugin
require('three-fly-controls')(THREE);
// build your THREE.js scene
THREE.FlyControls(cameraObject, domElement);