three-trackballcontrols-ts
v0.2.3
Published
ThreeJS Trackball Controls as a standalone and typescript compatible npm module
Downloads
268
Maintainers
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.