Skip to content

Commit 1cb2dfc

Browse files
authored
Revert "Orthographic camera: fix missing near and far parameters" (#536)
Revert "Orthographic camera: fix missing near and far parameters (#510)" This reverts commit 3a3b96c.
1 parent 32f897f commit 1cb2dfc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/base/src/3dview/mainview.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1391,9 +1391,7 @@ export class MainView extends React.Component<IProps, IStates> {
13911391
width / -2,
13921392
width / 2,
13931393
height / 2,
1394-
height / -2,
1395-
CAMERA_NEAR,
1396-
CAMERA_FAR
1394+
height / -2
13971395
);
13981396
this._camera.zoom = zoomFactor;
13991397
this._camera.updateProjectionMatrix();

0 commit comments

Comments
 (0)