소스 검색

Missing doc

sebastien 7 년 전
부모
커밋
8d44202ff0
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      src/Cameras/Inputs/babylon.freeCameraTouchInput.ts

+ 4 - 0
src/Cameras/Inputs/babylon.freeCameraTouchInput.ts

@@ -139,6 +139,10 @@ module BABYLON {
             }
             }
         }
         }
 
 
+        /**
+         * Update the current camera state depending on the inputs that have been used this frame.
+         * This is a dynamically created lambda to avoid the performance penalty of looping for inputs in the render loop.
+         */
         public checkInputs(): void {
         public checkInputs(): void {
             if (this._offsetX && this._offsetY) {
             if (this._offsetX && this._offsetY) {
                 var camera = this.camera;
                 var camera = this.camera;