UNPKG

threepipe

Version:

A modern 3D viewer framework built on top of three.js, written in TypeScript, designed to make creating high-quality, modular, and extensible 3D experiences on the web simple and enjoyable.

11 lines 566 B
import { ACameraControlsPlugin } from '../base/ACameraControlsPlugin'; import { FirstPersonControls2 } from '../../three'; export class ThreeFirstPersonControlsPlugin extends ACameraControlsPlugin { constructor() { super(...arguments); this.controlsKey = 'threeFirstPerson'; this._controlsCtor = (object, domElement) => new FirstPersonControls2(object, domElement || document.documentElement); } } ThreeFirstPersonControlsPlugin.PluginType = 'ThreeFirstPersonControlsPlugin'; //# sourceMappingURL=ThreeFirstPersonControlsPlugin.js.map