@relightco/three-trackballcontrols-ts
v0.1.2
Published
ThreeJS Trackball Controls as a standalone and typescript compatible npm module
Downloads
3
Readme
ThreeJS Trackball Controls
as a standalone and typescript compatible npm module.
Installation
npm install --save three-trackballcontrols-ts
Usage
import * as THREE from 'three';
import { TrackballControls } from 'three-trackballcontrols-ts';
const camera = new THREE.SomeCamera(...);
const controls = new TrackballControls(camera, renderer.domElement);
Credit
All credit goes to TrackballControls.js contributors.
Publish to NPM
npm adduser
npm publish @relightco/three-trackballcontrols-ts