UNPKG

@polygonjs/polygonjs

Version:

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

26 lines (25 loc) 1.32 kB
/** * Function of SDF capsule * * @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 SDFCapsuleGlParamsConfig extends NodeParamsConfig { position: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.VECTOR3>; center: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.VECTOR3>; start: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.VECTOR3>; end: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.VECTOR3>; radius: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>; } export declare class SDFCapsuleGlNode extends BaseSDFGlNode<SDFCapsuleGlParamsConfig> { paramsConfig: SDFCapsuleGlParamsConfig; static type(): GlType; initializeNode(): void; setLines(shadersCollectionController: ShadersCollectionController): void; } export {};