Add blob and fix some issues
This commit is contained in:
parent
5b4e67cbf0
commit
edca93fcfe
1 changed files with 237 additions and 67 deletions
|
|
@ -34,7 +34,7 @@ export class UniformArrayAutoScalingProgram implements IProgram {
|
|||
);
|
||||
|
||||
const closest = this.programs.find((p) =>
|
||||
p.values.every((v, i) => v > values[i])
|
||||
p.values.every((v, i) => v >= values[i])
|
||||
);
|
||||
|
||||
this.current = closest ? closest.program : last(this.programs).program;
|
||||
|
|
|
|||
Loading…
Reference in a new issue