Skip to content

Commit

Permalink
Update building.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Beakerboy authored Dec 17, 2024
1 parent c06fc84 commit 7aede7f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/building.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,11 @@ class Building {
}
}

/**
* Create the array of building parts.
*
* @return {array} mesh - an array or Three.Mesh objects
*/
render() {
const mesh = [];
if (this.parts.length > 0) {
Expand Down

0 comments on commit 7aede7f

Please sign in to comment.