Skip to content

Commit

Permalink
Add: ReflectionFilter support Float32Array type (#433)
Browse files Browse the repository at this point in the history
Co-authored-by: Baz Utsahajit <[email protected]>
  • Loading branch information
bbazukun123 and bbazukun123 authored Feb 14, 2024
1 parent b73c719 commit d10069f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reflection/ReflectionFilter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import source from './reflection.wgsl';
import type { FilterSystem, RenderSurface, Texture } from 'pixi.js';

/** [MIN, MAX] */
type Range = [number, number];
type Range = [number, number] | Float32Array;

export interface ReflectionFilterOptions
{
Expand Down

0 comments on commit d10069f

Please sign in to comment.