Skip to content

Commit

Permalink
Exaggerate clip plane size (#490)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinRenou authored Oct 16, 2024
1 parent 53ed054 commit 0723f22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/base/src/3dview/mainview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -747,8 +747,8 @@ export class MainView extends React.Component<IProps, IStates> {

// Clip plane rendering
const planeGeom = new THREE.PlaneGeometry(
this._refLength! * 10, // *10 is a bit arbitrary and extreme but that does not impact performance or anything
this._refLength! * 10
this._refLength! * 1000, // *1000 is a bit arbitrary and extreme but that does not impact performance or anything
this._refLength! * 1000
);
const planeMat = new THREE.MeshPhongMaterial({
color: DEFAULT_EDGE_COLOR,
Expand Down

0 comments on commit 0723f22

Please sign in to comment.