Ver código fonte

swith -> switch

George Corney 9 anos atrás
pai
commit
10f09b0d2f
1 arquivos alterados com 1 adições e 1 exclusões
  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;