Browse Source

Simplify expression

dubejf 10 years ago
parent
commit
d421b26696
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/extras/geometries/EdgesGeometry.js

+ 1 - 1
src/extras/geometries/EdgesGeometry.js

@@ -94,7 +94,7 @@ THREE.EdgesGeometry = function ( geometry, thresholdAngle ) {
 
 
 		var h = hash[ key ];
 		var h = hash[ key ];
 
 
-		if ( h.coplanar === undefined || h.coplanar === false ) {
+		if ( h.coplanar !== true ) {
 
 
 			var vertex = vertices[ h.vert1 ];
 			var vertex = vertices[ h.vert1 ];
 			coords[ index ++ ] = vertex.x;
 			coords[ index ++ ] = vertex.x;