nicky-nym / city3d

3D architectural building models made using the three.js Javascript API
The Unlicense
9 stars 4 forks source link

wall geometry bugs for walls with "roofline:" of "shed" and "gabled" #41

Closed nicky-nym closed 4 years ago

nicky-nym commented 4 years ago

These two bugs are related, so I'm filing them as one...

In garage.json.js and cottage.json.js, in the "attic" spec, the "height:" is currently set to 2 inches. That works fine, but if you set the height to zero, then the gables a rendered as lying on the attic floor, instead of standing up.

In house.json.js, the "back addition" spec has three wall segments. The first and last segment each have a "roofline:" type of "shed". The last segment renders correctly, but the first segment leans over into the house.