Skip to content

Commit

Permalink
ok
Browse files Browse the repository at this point in the history
  • Loading branch information
nhatdongdang committed Sep 9, 2024
1 parent 44d838d commit cf84454
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/pyramid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ int main() {
// Use minimum hight of the area as the lowest point on the pyramid
int min_height = *std::min_element(heights.begin(), heights.end());

// Build ring, diminishing up to pyramid height
mcpp::Coordinate base_pt = heights.base_pt();
// uild ring, diminishing up to pyramid height mcpp::Coordinate base_pt =
heights.base_pt();
base_pt.y = min_height;
int side_len = pyramid_base_len;
for (int i = 0; i < PYRAMID_HEIGHT; i++) {
Expand Down

0 comments on commit cf84454

Please sign in to comment.