UNPKG

@thi.ng/shader-ast-stdlib

Version:

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

12 lines 371 B
import type { FloatTerm } from "@thi.ng/shader-ast"; /** * Inline function. Essentially an isoline offset to create: * * - `r > 0`: rounded/thicker shapes * - `r < 0`: sharper/thinner shapes * * @param d - * @param r - */ export declare const sdfRound: (d: FloatTerm, r: FloatTerm) => import("@thi.ng/shader-ast").Op2<"float">; //# sourceMappingURL=round.d.ts.map