threepipe
Version:
A 3D viewer framework built on top of three.js in TypeScript with a focus on quality rendering, modularity and extensibility.
7 lines • 518 B
TypeScript
import { Spherical } from 'three';
import { CameraView, ICamera, ICameraView } from '../core';
import { AnimationOptions } from '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