@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
11 lines • 625 B
TypeScript
/**
* algorithm proposed by Borgefors, Chamfer distance [J. ACM 15 (1968) 600, Comput. Vis. Graph. Image Process. 34 (1986) 344], h
* @param {Sampler2D} source
* @param {Sampler2D} distanceField
* @param {number} emptyValue
* @param {number} d1 distance between two adjacent pixels in either x or y direction
* @param {number} d2 distance between two diagonally adjacent pixels
* @param maxD
*/
export function computeSignedDistanceField_Chamfer(source: Sampler2D, distanceField: Sampler2D, emptyValue: number, d1: number, d2: number, maxD: any): void;
//# sourceMappingURL=computeSignedDistanceField_Chamfer.d.ts.map