UNPKG

@maptiler/3d

Version:

Add 3D things to your map, plugin for MapTiler SDK

10 lines (9 loc) 587 B
import { Matrix4, Object3D, PointLight } from 'three'; import { SourceOrientation } from './types'; declare const isPointLight: (object3D: Object3D) => object3D is PointLight; /** * Helper function to create a transformation matrix for model and we can apply in single operation. */ declare const getTransformationMatrix: (scale: [number, number, number], heading: number, orientation: SourceOrientation) => Matrix4; export declare function filterKeysFromObject<T extends Record<string, any>>(obj?: T, keys?: (keyof T)[]): Partial<T>; export { isPointLight, getTransformationMatrix };