UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

8 lines 545 B
/** * Will remove keyframes that do not affect shape of the curve significantly. The significance degree is determined by the error tolerance * Intended to reduce complexity of a curve to improve performance and lower memory usage * @param {AnimationCurve} curve * @param {number} [error_tolerance] how much of a loss to accept, this is relative to normalized value bounds of the curve */ export function animation_curve_optimize(curve: AnimationCurve, error_tolerance?: number): void; //# sourceMappingURL=animation_curve_optimize.d.ts.map