Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
nabati committed Jun 20, 2024
1 parent 6e92a98 commit 76855b8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions viewer/packages/api/src/utilities/ViewStateHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,19 @@ export class ViewStateHelper {
}

public getCurrentState(): ViewerState {
const { position: cameraPosition, target: cameraTarget, rotation: cameraRotation } = this._cameraManager.getCameraState();
const {
position: cameraPosition,
target: cameraTarget,
rotation: cameraRotation
} = this._cameraManager.getCameraState();
const modelStates = this.getModelsState();
const clippingPlanesState = this.getClippingPlanesState();

return {
camera: {
position: cameraPosition,
target: cameraTarget,
rotation: cameraRotation,
rotation: cameraRotation
},
models: modelStates,
clippingPlanes: clippingPlanesState
Expand Down

0 comments on commit 76855b8

Please sign in to comment.