Browse Source

Update comments.

duncan law 6 years ago
parent
commit
ca00def29c
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/Cameras/Inputs/followCameraKeyboardMoveInput.ts

+ 4 - 1
src/Cameras/Inputs/followCameraKeyboardMoveInput.ts

@@ -22,7 +22,7 @@ export enum ModifierKey {
 }
 
 /**
- * Manage the keyboard inputs to control the movement of an arc rotate camera.
+ * Manage the keyboard inputs to control the movement of a follow camera.
  * @see http://doc.babylonjs.com/how_to/customizing_camera_inputs
  */
 export class FollowCameraKeyboardMoveInput implements ICameraInput<FollowCamera> {
@@ -311,6 +311,9 @@ export class FollowCameraKeyboardMoveInput implements ICameraInput<FollowCamera>
         return "keyboard";
     }
 
+    /**
+     * Compare provided value to actual stare of Alt, Ctrl and Shift keys.
+     */
     private _checkModifierKey(expected: ModifierKey) : boolean {
         let returnVal = false;
         switch(expected) {