0.1.2 • Published 3 years ago

@relightco/three-trackballcontrols-ts v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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