Fixed 'clear' method's description
WebGLRenderer's documentation incorrectly stated that if no parameters were passed to it, the 'clear' method will not clear any buffers. The default behaviour is in fact the opposite: if an argument is undefined, the corresponding buffer will be cleared. The document now correctly describes the default behaviour. Source code of the method: https://github.com/mrdoob/three.js/blob/master/src/renderers/WebGLRenderer.js#L368
Showing
想要评论请 注册 或 登录