소스 검색

Fix variable nV4 implicitly declared in DecalGeometry

Tristan Valcke 8 년 전
부모
커밋
fd6ffa3e59
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 ];