소스 검색

swith -> switch

George Corney 9 년 전
부모
커밋
10f09b0d2f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/babylon.scene.ts

+ 1 - 1
src/babylon.scene.ts

@@ -1324,7 +1324,7 @@
          * @param {Camera} newCamera - new active camera
 		 * @param {boolean} attachControl - call attachControl for the new active camera (default: true)
          */
-        public swithActiveCamera(newCamera: Camera, attachControl = true) {
+        public switchActiveCamera(newCamera: Camera, attachControl = true) {
             var canvas = this._engine.getRenderingCanvas();
             this.activeCamera.detachControl(canvas);
             this.activeCamera = newCamera;