UNPKG

@thi.ng/shader-ast-stdlib

Version:

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

7 lines 847 B
import type { TaggedFn2, TaggedFn3 } from "@thi.ng/shader-ast"; export declare const sdfOctahedron: TaggedFn2<"vec3", "float", "float">, sdfOctahedronSmooth: TaggedFn3<"vec3", "float", "float", "float">; export declare const sdfDodecahedron: TaggedFn2<"vec3", "float", "float">, sdfDodecahedronSmooth: TaggedFn3<"vec3", "float", "float", "float">; export declare const sdfIcosahedron: TaggedFn2<"vec3", "float", "float">, sdfIcosahedronSmooth: TaggedFn3<"vec3", "float", "float", "float">; export declare const sdfTruncatedOctahedron: TaggedFn2<"vec3", "float", "float">, sdfTruncatedOctahedronSmooth: TaggedFn3<"vec3", "float", "float", "float">; export declare const sdfTruncatedIcosahedron: TaggedFn2<"vec3", "float", "float">, sdfTruncatedIcosahedronSmooth: TaggedFn3<"vec3", "float", "float", "float">; //# sourceMappingURL=polyhedra.d.ts.map