From 4f611e78d2364097890f441a7b03d949ba0799b0 Mon Sep 17 00:00:00 2001 From: Poyan Nabati Date: Wed, 19 Jun 2024 14:39:05 +0200 Subject: [PATCH] remove dead code (#4613) --- .../cdfAnnotationsToObjects.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/viewer/packages/data-providers/src/pointcloud-stylable-object-providers/cdfAnnotationsToObjects.ts b/viewer/packages/data-providers/src/pointcloud-stylable-object-providers/cdfAnnotationsToObjects.ts index 132239f347e..8c5fbb9ffad 100644 --- a/viewer/packages/data-providers/src/pointcloud-stylable-object-providers/cdfAnnotationsToObjects.ts +++ b/viewer/packages/data-providers/src/pointcloud-stylable-object-providers/cdfAnnotationsToObjects.ts @@ -4,13 +4,9 @@ import { CompositeShape } from '@reveal/utilities'; -import { applyDefaultModelTransformation } from '../utilities/applyDefaultModelTransformation'; import { PointCloudObject, CdfPointCloudObjectAnnotation } from './types'; import { StylableObject } from './StylableObject'; -import { Matrix4 } from 'three'; -import { File3dFormat } from '../types'; - function cdfAnnotationsToPointCloudObjects(cdfAnnotations: CdfPointCloudObjectAnnotation[]): PointCloudObject[] { const resultAnnotations = cdfAnnotations.map((cdfAnnotation, index) => { const shapes = cdfAnnotation.region; @@ -21,9 +17,6 @@ function cdfAnnotationsToPointCloudObjects(cdfAnnotations: CdfPointCloudObjectAn objectId: index + 1 }; - const cadFromCdfToThreeMatrix = new Matrix4(); - applyDefaultModelTransformation(cadFromCdfToThreeMatrix, File3dFormat.EptPointCloud); - return { annotationId: cdfAnnotation.annotationId, assetId: cdfAnnotation.asset?.id,