Procházet zdrojové kódy

Fix variable nV4 implicitly declared in DecalGeometry

Tristan Valcke před 8 roky
rodič
revize
fd6ffa3e59
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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 ];