We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f51b4d commit 4269086Copy full SHA for 4269086
src/buildingpart.js
@@ -269,7 +269,7 @@ class BuildingPart {
269
const center = BuildingShapeUtils.center(this.shape, angle / 180 * Math.PI);
270
const options = {
271
center: center,
272
- angle: (360 - angle) / 360 * 2 * Math.PI,
+ angle: angle / 180 * Math.PI,
273
depth: this.options.roof.height,
274
};
275
const geometry = new WedgeGeometry(this.shape, options);
0 commit comments