Просмотр исходного кода

Updated also WebGLRenderer2 to show quads in wireframe.

alteredq 15 лет назад
Родитель
Сommit
8a26198b41
1 измененных файлов с 0 добавлено и 1 удалено
  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 );

粤ICP备19079148号