Add blob and fix some issues

This commit is contained in:
schmelczerandras 2020-08-18 09:40:51 +02:00
commit edca93fcfe

View file

@ -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;