UNPKG

@thi.ng/shader-ast-stdlib

Version:

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

5 lines 512 B
import type { Vec2Term, Vec3Term, Vec4Term } from "@thi.ng/shader-ast"; export declare const distManhattan2: (a: Vec2Term | Vec3Term | Vec4Term, b: Vec2Term | Vec3Term | Vec4Term) => import("@thi.ng/shader-ast").Op2<"float">; export declare const distManhattan3: (a: Vec3Term | Vec4Term, b: Vec3Term | Vec4Term) => import("@thi.ng/shader-ast").Op2<"float">; export declare const distManhattan4: (a: Vec4Term, b: Vec4Term) => import("@thi.ng/shader-ast").Op2<"float">; //# sourceMappingURL=dist-manhattan.d.ts.map