소스 검색

Update ShadowMesh.js

erichlof 10 년 전
부모
커밋
3ee2e831af
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/objects/ShadowMesh.js

+ 1 - 1
src/objects/ShadowMesh.js

@@ -19,7 +19,7 @@ THREE.ShadowMesh = function ( mesh ) {
 	
 	THREE.Mesh.call( this, mesh.geometry, shadowMaterial );
 	
-	this.parentMeshMatrix = mesh.matrix;
+	this.parentMeshMatrix = mesh.matrixWorld;
 	
 	this.frustumCulled = false;