Have ideas to improve npm?Join in the discussion! »

three-trackballcontrols-tsTypeScript icon, indicating that this package has built-in type declarations

0.2.3 • Public • Published

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.

Install

npm i three-trackballcontrols-ts

DownloadsWeekly Downloads

33

Version

0.2.3

License

MIT

Unpacked Size

45 kB

Total Files

10

Last publish

Collaborators

  • avatar