提交 a8416bc8 编写于 作者: A alteredq

Fixed implied globals in WebGLRenderer lights rgb init.

上级 771674d7
此差异已折叠。
此差异已折叠。
此差异已折叠。
...@@ -73,7 +73,7 @@ THREE.WebGLRenderer = function ( parameters ) { ...@@ -73,7 +73,7 @@ THREE.WebGLRenderer = function ( parameters ) {
this.setupLights = function ( program, lights ) { this.setupLights = function ( program, lights ) {
var l, ll, light, r = g = b = 0, var l, ll, light, r = 0, g = 0, b = 0,
dcolors = [], dpositions = [], dcolors = [], dpositions = [],
pcolors = [], ppositions = []; pcolors = [], ppositions = [];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册