upgrade to threejs 144
This commit is contained in:
parent
a15b47c05e
commit
1f9c666f1c
4 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue