Skip to content

Commit

Permalink
Merge pull request #119 from Niels-IO/patch-1
Browse files Browse the repository at this point in the history
Fix ClipPlane.jsx
  • Loading branch information
sgenoud authored Nov 15, 2023
2 parents a1f85c0 + 7c5ae12 commit c80d819
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/studio/src/ClipPlane.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export default function ClipPlane({ clippingPlane, sideColor, children }) {
node.material = backFaceStencilMat;
});

const planeGeom = new THREE.PlaneBufferGeometry();
const planeGeom = new THREE.PlaneGeometry();
const planeMesh = new THREE.Mesh(planeGeom, planeStencilMat);

planeMesh.quaternion.setFromUnitVectors(
Expand Down

0 comments on commit c80d819

Please sign in to comment.