PointF IGazeFilter.Update(TimeSpan timestamp, PointF location) { if (_lastTimestamp == TimeSpan.Zero) { _lastTimestamp = timestamp; _pointFilter = new LowpassFilter(location); _deltaFilter = new LowpassFilter(default);
public virtual GazeFilterArgs Update(GazeFilterArgs args) { if (_lastTimestamp == TimeSpan.Zero) { _lastTimestamp = args.Timestamp; _pointFilter = new LowpassFilter(args.Location); _deltaFilter = new LowpassFilter(default);