提交 d4f6d48c 编写于 作者: T tschw

WebGLProgram: Added braces and whitespace.

上级 a492b0dd
......@@ -402,28 +402,32 @@ THREE.WebGLProgram = ( function () {
}
if ( haveDiagnostics ) this.diagnostics = {
if ( haveDiagnostics ) {
this.diagnostics = {
runnable: runnable,
material: material,
runnable: runnable,
material: material,
programLog: programLog,
programLog: programLog,
vertexShader: {
vertexShader: {
log: vertexLog,
prefix: prefixVertex
log: vertexLog,
prefix: prefixVertex
},
},
fragmentShader: {
fragmentShader: {
log: fragmentLog,
prefix: prefixFragment
log: fragmentLog,
prefix: prefixFragment
}
}
};
};
}
// clean up
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册