Three.js: forcing loop to unroll

自闭症网瘾萝莉.ら 提交于 2019-12-24 03:48:15

问题


When using normally three.js I get this error at Firebug:

gl.getProgramInfoLog() (54,6): warning X3557: loop only executes for 1 iteration(s), forcing loop to unroll

Even all the rest looks like working properly and not giving any problem.

Trying with some examples from the net I see the same error message, you can find it for example at some examples in the net like this one

When it uses three.min.js appears at line: 537 and with three.js it appears at line: 25909.


回答1:


Which version of firefox you are using ?

there was a bug in firefox related to this. Consider upgrading.




回答2:


It was a bug, checkout three.js issue tracker. Apparently, it has been fixed.



来源:https://stackoverflow.com/questions/23367786/three-js-forcing-loop-to-unroll

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!