Explorar o código

fix coding style

Sébastien Valette %!s(int64=11) %!d(string=hai) anos
pai
achega
0f2e32eddc
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/extras/helpers/WireframeHelper.js

+ 2 - 2
src/extras/helpers/WireframeHelper.js

@@ -74,9 +74,9 @@ THREE.WireframeHelper = function ( object, hex ) {
 			var offsets = object.geometry.offsets;
 			var numEdges = 0;
 
-			if (!offsets.length) {
+			if ( offsets.length === 0 ) {
 
-				offsets = [{count : indices.length, index : 0, start : 0}];
+				offsets = [ { count : indices.length, index : 0, start : 0 } ];
 
 			}