소스 검색

Mistake on sample code (viewport -> domElement)

Mr.doob 15 년 전
부모
커밋
09d5ada73e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -58,7 +58,7 @@ This code creates a camera, then creates a scene object, adds a bunch of random
 				
 			}
 
-			document.body.appendChild(renderer.viewport);
+			document.body.appendChild(renderer.domElement);
 			
 		}