UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

10 lines 386 B
/** * Approximates logarithmic decay, except it goes to 0 at max * Estimation is done using a 5th degree polynomial * @param {number} distance * @param {number} min * @param {number} max * @return {number} */ export function interpolate_irradiance_lograrithmic(distance: number, min: number, max: number): number; //# sourceMappingURL=interpolate_irradiance_lograrithmic.d.ts.map