Browse Source

Updated also WebGLRenderer2 to show quads in wireframe.

alteredq 14 years ago
parent
commit
8a26198b41
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/renderers/WebGLRenderer2.js

+ 0 - 1
src/renderers/WebGLRenderer2.js

@@ -417,7 +417,6 @@ THREE.WebGLRenderer2 = function ( antialias ) {
 					// TODO: don't add lines that already exist (faces sharing edge)
 
 					lines.push( vertexIndex, vertexIndex + 1 );
-					lines.push( vertexIndex, vertexIndex + 2 );
 					lines.push( vertexIndex, vertexIndex + 3 );
 					lines.push( vertexIndex + 1, vertexIndex + 2 );
 					lines.push( vertexIndex + 2, vertexIndex + 3 );