mirror of https://gitee.com/antv-l7/antv-l7
feat: delete useless file
This commit is contained in:
parent
a646f511f8
commit
11b7ac135b
|
@ -218,7 +218,13 @@ export interface ILayer {
|
|||
setAnimateStartTime(): void;
|
||||
getLayerAnimateTime(): number;
|
||||
|
||||
// three
|
||||
/**
|
||||
* threejs 适配兼容相关的方法
|
||||
* @param lnglat
|
||||
* @param altitude
|
||||
* @param rotation
|
||||
* @param scale
|
||||
*/
|
||||
|
||||
// 获取对应地图的经纬度模型矩阵
|
||||
getModelMatrix?(
|
||||
|
|
|
@ -1,29 +0,0 @@
|
|||
import { ILayer } from '@antv/l7-core';
|
||||
import { AnimationMixer, Matrix4, Object3D } from 'three';
|
||||
|
||||
type ILngLat = [number, number];
|
||||
|
||||
export interface IThreeJSLayer extends ILayer {
|
||||
// 获取对应地图的经纬度模型矩阵
|
||||
getModelMatrix(
|
||||
lnglat: ILngLat,
|
||||
altitude: number,
|
||||
rotation: [number, number, number],
|
||||
scale: [number, number, number],
|
||||
): Matrix4;
|
||||
|
||||
// 获取对应地图的经纬度平移矩阵
|
||||
getTranslateMatrix(lnglat: ILngLat, altitude?: number): Matrix4;
|
||||
|
||||
// 设置模型对应地图在经纬度和高度方向的平移
|
||||
setObjectLngLat(object: Object3D, lnglat: ILngLat, altitude?: number): void;
|
||||
|
||||
// 根据经纬度设置模型对应地图的平移
|
||||
applyObjectLngLat(object: Object3D, lnglat: ILngLat, altitude?: number): void;
|
||||
|
||||
// 返回物体在场景中的经纬度
|
||||
getObjectLngLat(object: Object3D): ILngLat;
|
||||
|
||||
// 增加加载模型的动画混合器
|
||||
addAnimateMixer(mixer: AnimationMixer): void;
|
||||
}
|
Loading…
Reference in New Issue