We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5af0558 commit 908cb98Copy full SHA for 908cb98
src/buildingpart.js
@@ -152,7 +152,7 @@ class BuildingPart {
152
let longestSide = BuildingShapeUtils.longestSideAngle(this.shape);
153
154
// Convert to angle.
155
- calculatedOptions.roof.direction = this.atanRadToCompassDeg(longestSide);
+ calculatedOptions.roof.direction = BuildingPart.atanRadToCompassDeg(longestSide);
156
}
157
const extents = BuildingShapeUtils.extents(this.shape, calculatedOptions.roof.direction / 360 * 2 * Math.PI);
158
const shapeHeight = extents[3] - extents[1];
0 commit comments