Migrate LowPassFilter
Summary: _typescript_ Reviewed By: danielbuechele Differential Revision: D16764120 fbshipit-source-id: 03185c74f3a1e753089ea550d3f193027aae9424
This commit is contained in:
committed by
Facebook Github Bot
parent
5c6ec866d6
commit
d812b128ba
@@ -6,7 +6,7 @@
|
||||
*/
|
||||
|
||||
export default class LowPassFilter {
|
||||
constructor(smoothing?: number = 0.9) {
|
||||
constructor(smoothing: number = 0.9) {
|
||||
this.smoothing = smoothing;
|
||||
this.buffer = [];
|
||||
this.bufferMaxSize = 5;
|
||||
Reference in New Issue
Block a user