Skip to content

Commit

Permalink
removed zoomDist assign in ctor
Browse files Browse the repository at this point in the history
  • Loading branch information
kpal81xd committed Nov 14, 2024
1 parent f9cde3f commit 8b91100
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions scripts/camera/multi-camera.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,6 @@ class MultiCamera extends BaseCamera {
wheelSpeed,
zoomMin,
zoomMax,
zoomDistMin,
zoomDistMax,
moveSpeed,
sprintSpeed,
crouchSpeed
Expand All @@ -186,8 +184,6 @@ class MultiCamera extends BaseCamera {
this.wheelSpeed = wheelSpeed ?? this.wheelSpeed;
this.zoomMin = zoomMin ?? this.zoomMin;
this.zoomMax = zoomMax ?? this.zoomMax;
this.zoomDistMin = zoomDistMin ?? this.zoomDistMin;
this.zoomDistMax = zoomDistMax ?? this.zoomDistMax;

this.moveSpeed = moveSpeed ?? this.moveSpeed;
this.sprintSpeed = sprintSpeed ?? this.sprintSpeed;
Expand Down

0 comments on commit 8b91100

Please sign in to comment.