UNPKG

@polygonjs/polygonjs

Version:

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

24 lines (23 loc) 1.09 kB
/** * Function of SDF Sphere * * @remarks * * based on [https://iquilezles.org/articles/distfunctions/](https://iquilezles.org/articles/distfunctions/) */ import { NodeParamsConfig } from '../utils/params/ParamsConfig'; import { JsLinesCollectionController } from './code/utils/JsLinesCollectionController'; import { BaseSDFJsNode } from './_BaseSDF'; import { JsType } from '../../poly/registers/nodes/types/Js'; declare class SDFSphereJsParamsConfig extends NodeParamsConfig { position: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.VECTOR3>; center: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.VECTOR3>; radius: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>; } export declare class SDFSphereJsNode extends BaseSDFJsNode<SDFSphereJsParamsConfig> { paramsConfig: SDFSphereJsParamsConfig; static type(): JsType; initializeNode(): void; setLines(shadersCollectionController: JsLinesCollectionController): void; } export {};