@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
24 lines (23 loc) • 1.15 kB
TypeScript
/**
* Subtract 1 SDF from another
*
* @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 { TypedJsNode } from './_Base';
declare class SDFSubtractJsParamsConfig extends NodeParamsConfig {
sdf0: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>;
sdf1: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>;
smooth: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.BOOLEAN>;
smoothFactor: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>;
}
export declare class SDFSubtractJsNode extends TypedJsNode<SDFSubtractJsParamsConfig> {
paramsConfig: SDFSubtractJsParamsConfig;
static type(): string;
initializeNode(): void;
setLines(shadersCollectionController: JsLinesCollectionController): void;
}
export {};