Skip to content

Commit

Permalink
Merge pull request #305 from tteo/patch-1
Browse files Browse the repository at this point in the history
Update render_buildings.R
  • Loading branch information
tylermorganwall committed Jan 11, 2024
2 parents 6ab66ed + e3e7883 commit 353be28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/render_buildings.R
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ render_buildings = function(polygon, extent,

if(!heights_relative_to_centroid) {
roof_mesh = raybevel::generate_roof(skeletons,
offset = top,
vertical_offset = top,
base_height = 0,
angle = angle,
material = material,
Expand All @@ -213,7 +213,7 @@ render_buildings = function(polygon, extent,
sides = TRUE)
} else {
roof_mesh = raybevel::generate_roof(skeletons,
offset = top,
vertical_offset = top,
base_height = bottom,
angle = angle,
material = material,
Expand Down

0 comments on commit 353be28

Please sign in to comment.