@thi.ng/shader-ast-stdlib
Version:
Function collection for modular GPGPU / shader programming with @thi.ng/shader-ast
10 lines • 324 B
TypeScript
import type { FloatTerm } from "@thi.ng/shader-ast";
/**
* Inline function. Variadic SDF shape subtraction (a - b) for any number of
* terms (at least 1 required).
*
* @param a -
* @param terms -
*/
export declare const sdfSubtract: (a: FloatTerm, ...terms: FloatTerm[]) => FloatTerm;
//# sourceMappingURL=sub.d.ts.map