Bläddra i källkod

Fix variable nV4 implicitly declared in DecalGeometry

Tristan Valcke 8 år sedan
förälder
incheckning
fd6ffa3e59
1 ändrade filer med 1 tillägg och 1 borttagningar
  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: {
 				case 1: {
 
 
-					var nV1, nV2, nV3;
+					var nV1, nV2, nV3, nV4;
 					if ( v1Out ) {
 					if ( v1Out ) {
 
 
 						nV1 = inVertices[ j + 1 ];
 						nV1 = inVertices[ j + 1 ];