Skip to content

Latest commit

 

History

History
41 lines (23 loc) · 642 Bytes

File metadata and controls

41 lines (23 loc) · 642 Bytes

three-transformcontrols

A module for using THREE.TransformControls with nodejs

See the original for a demo.

Updated for THREE R78.

Installation

npm install three-transformcontrols

Usage

var TransformControls = require('three-transformcontrols');
var controls = new TransformControls(camera, domElement);

Development

Ensure you have the same node environment using nvm.

npm install -g nvm nvm use

Then install as usual

npm install

Testing

Make sure you have loaded the nvm environment

nvm use

Then test as usual

npm test