UNPKG

@thi.ng/shader-ast-stdlib

Version:

Function collection for modular GPGPU / shader programming with @thi.ng/shader-ast

17 lines 543 B
/** * Returns signed distance from `p` to plane defined by `normal` and `w`. * * @param p - vec2 * @param normal - vec2 * @param w - float */ export declare const sdfPlane2: import("@thi.ng/shader-ast").TaggedFn3<"vec2", "vec2", "float", "float">; /** * Returns signed distance from `p` to plane defined by `normal` and `w`. * * @param p - vec3 * @param normal - vec3 * @param w - float */ export declare const sdfPlane3: import("@thi.ng/shader-ast").TaggedFn3<"vec3", "vec3", "float", "float">; //# sourceMappingURL=plane.d.ts.map