UNPKG

@polygonjs/polygonjs

Version:

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

26 lines (25 loc) 1.39 kB
/** * computes a transformation matrix from longitude, latitude and depth * * */ import { TypedJsNode } from './_Base'; import { NodeParamsConfig } from '../utils/params/ParamsConfig'; import { JsLinesCollectionController } from './code/utils/JsLinesCollectionController'; declare class PolarTransformJsParamsConfig extends NodeParamsConfig { /** @param center of the transform */ center: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.VECTOR3>; /** @param moves the objects along the longitude, which is equivalent to a rotation on the y axis */ longitude: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>; /** @param moves the objects along the latitude, which is equivalent to a rotation on the z or x axis */ latitude: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>; /** @param moves the point aways from the center */ depth: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>; } export declare class PolarTransformJsNode extends TypedJsNode<PolarTransformJsParamsConfig> { readonly paramsConfig: PolarTransformJsParamsConfig; static type(): string; initializeNode(): void; setLines(linesController: JsLinesCollectionController): void; } export {};