Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 28, 2024
1 parent 9387bcf commit 554e968
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions packages/base/src/3dview/mainview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -436,13 +436,10 @@ export class MainView extends React.Component<IProps, IStates> {
updatedQuaternion.y / s,
updatedQuaternion.z / s
],
(2 * Math.acos(updatedQuaternion.w) * (180 / Math.PI))
2 * Math.acos(updatedQuaternion.w) * (180 / Math.PI)
];
} else {
updatedRotation = [
[0, 0, 1],
0
];
updatedRotation = [[0, 0, 1], 0];
}

const obj = this._model.sharedModel.getObjectByName(objectName);
Expand Down

0 comments on commit 554e968

Please sign in to comment.