Skip to content

Commit

Permalink
Address Feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
bbazukun123 committed Feb 14, 2024
1 parent d94bafd commit f8f1352
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions src/shockwave/ShockwaveFilter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,6 @@ import { vertex, wgslVertex } from '../defaults';
import fragment from './shockwave.frag';
import source from './shockwave.wgsl';

interface DeprecatedShockwaveFilterOptions
{
amplitude: number;
wavelength: number;
speed: number;
brightness: number;
radius: number;
}

export interface ShockwaveFilterOptions
{
/**
Expand Down Expand Up @@ -110,9 +101,9 @@ export class ShockwaveFilter extends Filter
* @param {number} [options.radius=4] - See `radius` property.
* @param {number} [time=0] - See `time` property.
*/
constructor(center?: PointData | number[], options?: Partial<DeprecatedShockwaveFilterOptions>, time?: number);
constructor(center?: PointData | number[], options?: Omit<ShockwaveFilterOptions, 'time' | 'center'>, time?: number);
// eslint-disable-next-line max-len
constructor(...args: [ShockwaveFilterOptions?] | [(PointData | number[])?, Partial<DeprecatedShockwaveFilterOptions>?, number?])
constructor(...args: [ShockwaveFilterOptions?] | [(PointData | number[])?, Omit<ShockwaveFilterOptions, 'time' | 'center'>?, number?])
{
let options = args[0] ?? {};

Expand Down

0 comments on commit f8f1352

Please sign in to comment.