UNPKG

@polygonjs/polygonjs

Version:

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

25 lines (24 loc) 1.24 kB
/** * stretches P before using it as an input for an SDF * * @remarks * * based on [https://iquilezles.org/articles/distfunctions/](https://iquilezles.org/articles/distfunctions/) */ import { BaseSDFGlNode } from './_BaseSDF'; import { NodeParamsConfig } from '../utils/params/ParamsConfig'; import { ShadersCollectionController } from './code/utils/ShadersCollectionController'; import { GlType } from '../../poly/registers/nodes/types/Gl'; declare class SDFElongateGlParamsConfig extends NodeParamsConfig { position: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.VECTOR3>; center: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.VECTOR3>; mult: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.VECTOR3>; fast: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.BOOLEAN>; } export declare class SDFElongateGlNode extends BaseSDFGlNode<SDFElongateGlParamsConfig> { paramsConfig: SDFElongateGlParamsConfig; static type(): GlType; initializeNode(): void; setLines(shadersCollectionController: ShadersCollectionController): void; } export {};