From 21ecbb3759a581673e44e46dc13e93dbd9ca6cec Mon Sep 17 00:00:00 2001 From: Chris Marsh Date: Mon, 9 Dec 2024 22:36:37 -0600 Subject: [PATCH] align bbox --- src/mesh/triangulation.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/mesh/triangulation.hpp b/src/mesh/triangulation.hpp index f4c7a64a..c67f44b7 100644 --- a/src/mesh/triangulation.hpp +++ b/src/mesh/triangulation.hpp @@ -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: