Selaa lähdekoodia

Mouse wheel for FreeCamera: Arg. Lint.

duncan law 4 vuotta sitten
vanhempi
commit
d057b49fd7
2 muutettua tiedostoa jossa 1 lisäystä ja 2 poistoa
  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
 }
-