Skip to content

Commit 6577a42

Browse files
authored
allow non-scalar mix (how did mix implementation get so messed up??)
1 parent 7c23ef5 commit 6577a42

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

generators/sculpt.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,6 @@ export function sculptToGLSL(userProvidedSrc) {
487487
`'mix' third argument must be float or match dim of first args`
488488
);
489489
}
490-
ensureScalar("mix", arg_2);
491490
if (typeof arg_1 == "number" || arg_1.type == "float") {
492491
arg_0 = tryMakeNum(arg_0);
493492
arg_1 = tryMakeNum(arg_1);

0 commit comments

Comments
 (0)