Join using a space instead of newline

This commit is contained in:
pyoor 2018-03-12 13:32:46 -04:00
parent a05cb5e6ff
commit 0367d34592
1 changed files with 2 additions and 2 deletions

View File

@ -131,8 +131,8 @@ make.shaders = {
shaderPair: function (v, f) { shaderPair: function (v, f) {
let i = random.number(v.length) let i = random.number(v.length)
return { return {
vertex: utils.common.quote(v[i].join('\n')), vertex: utils.common.quote(v[i].join(' ')),
fragment: utils.common.quote(f[i].join('\n')) fragment: utils.common.quote(f[i].join(' '))
} }
} }
} }