UNPKG

@polygonjs/polygonjs

Version:

node-based WebGL 3D engine https://polygonjs.com

13 lines (12 loc) 409 B
import { Vector3, Matrix4 } from 'three'; import type { Object3D } from 'three'; export interface PolarTransformMatrixParams { center: Vector3; longitude: number; latitude: number; depth: number; } export declare class CorePolarTransform { static matrix(params: PolarTransformMatrixParams, target: Matrix4): void; static applyMatrixToObject(object: Object3D, matrix: Matrix4): void; }