Skip to content

Commit

Permalink
#3730: change maximal camera angle to be plane with the map
Browse files Browse the repository at this point in the history
  • Loading branch information
phanlezz committed Oct 17, 2024
1 parent 0318121 commit ef6427e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export class ThreeMapControlsService {
})

this.controls.minPolarAngle = 0
this.controls.maxPolarAngle = Math.PI / 3
this.controls.maxPolarAngle = Math.PI / 2
this.controls.listenToKeyEvents(window)
this.controls.addEventListener("change", () => {
this.onInput(this.threeCameraService.camera)
Expand Down

0 comments on commit ef6427e

Please sign in to comment.