Skip to content

Commit

Permalink
Enabled accurate near plane calculation (#3778)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandruPopovici authored Jan 9, 2025
1 parent 448291f commit 58a6795
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/viewer/src/modules/extensions/CameraController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export const DefaultOrbitControlsOptions: Required<CameraControllerOptions> = {
moveSpeed: 1,
damperDecay: 30,
enableLook: true,
nearPlaneCalculation: NearPlaneCalculation.EMPIRIC
nearPlaneCalculation: NearPlaneCalculation.ACCURATE
}

export class CameraController extends Extension implements SpeckleCamera {
Expand Down

0 comments on commit 58a6795

Please sign in to comment.