提交 91f8c0be 编写于 作者: M Mr.doob

Updated builds.

上级 031798e2
......@@ -20269,7 +20269,14 @@ THREE.WebGLRenderer = function ( parameters ) {
function renderMesh( material, geometry, object, program, updateBuffers ) {
var mode = material.wireframe === true ? _gl.LINES : _gl.TRIANGLES;
var mode = _gl.TRIANGLES;
if ( material.wireframe === true ) {
mode = _gl.LINES;
state.setLineWidth( material.wireframeLinewidth * pixelRatio );
}
var index = geometry.attributes.index;
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册