UNPKG

@thi.ng/shader-ast-stdlib

Version:

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

10 lines 323 B
/** * Returns signed distance from `p` to cylinder centered around Y-axis * with height `h` and radius `r`. * * @param p - vec3 * @param h - float * @param r - float */ export declare const sdfCylinder: import("@thi.ng/shader-ast").TaggedFn3<"vec3", "float", "float", "float">; //# sourceMappingURL=cylinder.d.ts.map