2
0
Эх сурвалжийг харах

Fix variable nV4 implicitly declared in DecalGeometry

Tristan Valcke 8 жил өмнө
parent
commit
fd6ffa3e59

+ 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 ];