浏览代码

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 {
             if (this._offsetX && this._offsetY) {
                 var camera = this.camera;