Skip to content

Commit

Permalink
remove dead code (#4613)
Browse files Browse the repository at this point in the history
  • Loading branch information
nabati authored Jun 19, 2024
1 parent 803d861 commit 4f611e7
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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,
Expand Down

0 comments on commit 4f611e7

Please sign in to comment.