@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
24 lines (23 loc) • 1.13 kB
TypeScript
/**
* transforms the position before passing it to and 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 SDFTransformGlParamsConfig extends NodeParamsConfig {
position: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.VECTOR3>;
t: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.VECTOR3>;
r: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.VECTOR3>;
}
export declare class SDFTransformGlNode extends BaseSDFGlNode<SDFTransformGlParamsConfig> {
paramsConfig: SDFTransformGlParamsConfig;
static type(): GlType;
initializeNode(): void;
setLines(shadersCollectionController: ShadersCollectionController): void;
}
export {};