Browse Source

Fix variable nV4 implicitly declared in DecalGeometry

Tristan Valcke 8 years ago
parent
commit
fd6ffa3e59
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/js/geometries/DecalGeometry.js

+ 1 - 1
examples/js/geometries/DecalGeometry.js

@@ -88,7 +88,7 @@ THREE.DecalGeometry = function( mesh, position, rotation, dimensions, check ) {
 				}
 				case 1: {
 
-					var nV1, nV2, nV3;
+					var nV1, nV2, nV3, nV4;
 					if ( v1Out ) {
 
 						nV1 = inVertices[ j + 1 ];