From 58a6795b61417cb4ec349a63ab208a678625fe90 Mon Sep 17 00:00:00 2001 From: Alexandru Popovici Date: Thu, 9 Jan 2025 15:58:17 +0200 Subject: [PATCH] Enabled accurate near plane calculation (#3778) --- packages/viewer/src/modules/extensions/CameraController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/viewer/src/modules/extensions/CameraController.ts b/packages/viewer/src/modules/extensions/CameraController.ts index 2f7adf2f45..da4783164a 100644 --- a/packages/viewer/src/modules/extensions/CameraController.ts +++ b/packages/viewer/src/modules/extensions/CameraController.ts @@ -98,7 +98,7 @@ export const DefaultOrbitControlsOptions: Required = { moveSpeed: 1, damperDecay: 30, enableLook: true, - nearPlaneCalculation: NearPlaneCalculation.EMPIRIC + nearPlaneCalculation: NearPlaneCalculation.ACCURATE } export class CameraController extends Extension implements SpeckleCamera {