Browse Source

swith -> switch

George Corney 9 năm trước cách đây
mục cha
commit
10f09b0d2f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;