We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e81737d commit 99faab8Copy full SHA for 99faab8
src/extras/BuildingShapeUtils.js
@@ -409,14 +409,12 @@ class BuildingShapeUtils extends ShapeUtils {
409
}
410
411
/**
412
- * Calculate the angle of the longest side of a shape with 90° vertices.
413
- * is begining / end duplicated?
+ * Return the angle of the longest side of a shape with 90° vertices.
414
*
415
* @param {THREE.Shape} shape - the shape
416
* @return {number}
417
*/
418
static longestSideAngle(shape) {
419
- const vecs = shape.extractPoints().shape;
420
const lengths = BuildingShapeUtils.edgeLength(shape);
421
const directions = BuildingShapeUtils.edgeDirection(shape);
422
var index;
0 commit comments