Преглед изворни кода

Mouse wheel for FreeCamera: Arg. Lint.

duncan law пре 4 година
родитељ
комит
d057b49fd7
2 измењених фајлова са 1 додато и 2 уклоњено
  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);
                         break;
                 }
-            }
+            };
         // Do the camera updates for each of the 3 touch-wheel axis.
         updateCameraProperty(
             this._wheelDeltaX, this._wheelXAction, this._wheelXActionCoordinate);

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

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