Skip to content

Commit

Permalink
align bbox
Browse files Browse the repository at this point in the history
  • Loading branch information
Chrismarsh committed Dec 10, 2024
1 parent e1b12eb commit 21ecbb3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/mesh/triangulation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -942,12 +942,13 @@ class triangulation
// some of the coordinates might be negative, so by init with a nan
// when this is filled using std::min and std::max, the nan willbe ignored on the first
// comparison
struct bounding_box{
struct bounding_box
{
double x_min {std::nan("")};
double x_max {std::nan("")};
double y_min {std::nan("")};
double y_max {std::nan("")};
} _bounding_box;
} __attribute__((aligned(32))) _bounding_box;

protected:

Expand Down

0 comments on commit 21ecbb3

Please sign in to comment.