Skip to content

Commit

Permalink
Z-fighting happens more when z axis is scaled to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
asinghvi17 committed May 10, 2024
1 parent 9be59a7 commit bcbcd26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tyler.jl
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ function place_tile!(tile::Tile, plot, crs)
xmin, xmax = bounds.X
ymin, ymax = bounds.Y
translate!(plot, xmin, ymin, tile.z - 100)
scale!(plot, xmax - xmin, ymax - ymin, 0)
scale!(plot, xmax - xmin, ymax - ymin, 1)
return
end

Expand Down

0 comments on commit bcbcd26

Please sign in to comment.