Browse Source

Mouse wheel for FreeCamera: Arg. Lint.

duncan law 4 years ago
parent
commit
d057b49fd7
2 changed files with 1 additions and 2 deletions
  1. 1 1
      src/Cameras/Inputs/freeCameraMouseWheelInput.ts
  2. 0 1
      src/Maths/math.axis.ts

+ 1 - 1
src/Cameras/Inputs/freeCameraMouseWheelInput.ts

@@ -351,7 +351,7 @@ export class FreeCameraMouseWheelInput extends BaseCameraMouseWheelInput {
                         action.set(0, 0, value);
                         action.set(0, 0, value);
                         break;
                         break;
                 }
                 }
-            }
+            };
         // Do the camera updates for each of the 3 touch-wheel axis.
         // Do the camera updates for each of the 3 touch-wheel axis.
         updateCameraProperty(
         updateCameraProperty(
             this._wheelDeltaX, this._wheelXAction, this._wheelXActionCoordinate);
             this._wheelDeltaX, this._wheelXAction, this._wheelXActionCoordinate);

+ 0 - 1
src/Maths/math.axis.ts

@@ -31,4 +31,3 @@ export enum Coordinate {
     /** Z axis */
     /** Z axis */
     Z
     Z
 }
 }
-