소스 검색

Updated sample code

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

+ 1 - 0
README.md

@@ -40,6 +40,7 @@ This code creates a camera, then creates a scene object, adds a bunch of random
 		function init()
 		{
 			camera = new Camera(0, 0, 1000);
+			camera.setProjectionMatrix(Matrix4.makePerspective(45, SCREEN_WIDTH/SCREEN_HEIGHT, 0.001, 1000));
 
 			scene = new Scene();