import * as THREE from "three"; /** * 线性过程值 * @param from - 初始值 * @param to - 结束值 * @param pst - 完成度(0-1) * @returns 计算值 */ declare function progressNumber(from: number, to: number, pst: number): number; /** * 弧度过程值 * @param from - 初始值 * @param to - 结束值 * @param pst - 完成度(0-1) * @returns 计算值 */ declare function progressRad(from: number, to: number, pst: number): number; /** * 线性一步过程 * @param from - 初始值 * @param to - 结束值 * @param step - 步径 * @returns 计算值 */ declare function stepNumber(from: number, to: number, step: number): number; declare function stepVector(from: THREE.Vector3, to: THREE.Vector3, step: number): THREE.Vector3; type coordinates = { longitude: number; latitude: number; }; /** * 坐标一步过程 * @param from - 初始值 * @param to - 结束值 * @param step - 步径 * @returns 计算值 */ declare function stepCoordinates(from: coordinates, to: coordinates, step: number): coordinates; export { progressNumber, progressRad, stepNumber, stepVector, stepCoordinates, };