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.
7 lines • 528 B
TypeScript
import { Spherical } from 'three';
import { CameraView, ICamera, ICameraView } from '../core';
import { AnimationOptions } from '@repalash/popmotion';
export declare function sphericalFromCameraView(view: Pick<CameraView, 'position' | 'target'>): Spherical;
export declare function animateCameraToViewSpherical(camera: ICamera, view: ICameraView): AnimationOptions<number>;
export declare function animateCameraToViewLinear(camera: ICamera, view: ICameraView): AnimationOptions<number>;
//# sourceMappingURL=camera-anim.d.ts.map