Skip to content

Commit

Permalink
Revert "Orthographic camera: fix missing near and far parameters (#510)"
Browse files Browse the repository at this point in the history
This reverts commit 3a3b96c.
  • Loading branch information
martinRenou authored Oct 25, 2024
1 parent 32f897f commit a5ff296
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/base/src/3dview/mainview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1391,9 +1391,7 @@ export class MainView extends React.Component<IProps, IStates> {
width / -2,
width / 2,
height / 2,
height / -2,
CAMERA_NEAR,
CAMERA_FAR
height / -2
);
this._camera.zoom = zoomFactor;
this._camera.updateProjectionMatrix();
Expand Down

0 comments on commit a5ff296

Please sign in to comment.