UNPKG

@thi.ng/shader-ast-stdlib

Version:

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

16 lines 569 B
import type { FloatTerm } from "@thi.ng/shader-ast"; /** * @param d1 - float * @param d2 - float * @param k - float */ export declare const sdfSmoothIntersect: import("@thi.ng/shader-ast").TaggedFn3<"float", "float", "float", "float">; /** * Variadic compiletime macro for {@link sdfSmoothIntersect}. Takes smooth factor * `k`, followed by any number (at least 1 required) of SDF terms. * * @param k - * @param terms - */ export declare const sdfSmoothIntersectAll: (k: FloatTerm, ...terms: FloatTerm[]) => FloatTerm; //# sourceMappingURL=smooth-isec.d.ts.map