upgrade to threejs 144

This commit is contained in:
Stewart Allen 2022-09-28 00:20:17 -04:00
commit 1f9c666f1c
4 changed files with 4 additions and 4 deletions

View file

@ -266,7 +266,7 @@ function ProfiledContourGeometry(profileShape, contour, contourClosed) {
contourClosed = contourClosed !== undefined ? contourClosed : true;
const profileGeometry = new THREE.ShapeBufferGeometry(profileShape);
const profileGeometry = new THREE.ShapeGeometry(profileShape);
profileGeometry.rotateX(Math.PI * .5);
const profile = profileGeometry.attributes.position;