From fe2baedc760c2f29e2c720f6b1132a2de33c5430 Mon Sep 17 00:00:00 2001 From: Mel Date: Sat, 8 Jul 2023 03:25:44 +0200 Subject: Use own size types --- src/Math/Grid.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Math/Grid.hpp') diff --git a/src/Math/Grid.hpp b/src/Math/Grid.hpp index e9907a0..8c0c423 100644 --- a/src/Math/Grid.hpp +++ b/src/Math/Grid.hpp @@ -5,7 +5,7 @@ namespace Math { struct GridCellBoundaries { - float x1, x2, y1, y2; + Real x1, x2, y1, y2; [[nodiscard]] Vector<2> top_left() const; [[nodiscard]] Vector<2> top_right() const; @@ -16,7 +16,7 @@ struct GridCellBoundaries { GridCellBoundaries grid_cell_for_point(Vector<2> point); struct CubeCellBoundaries { - float x1, x2, y1, y2, z1, z2; + Real x1, x2, y1, y2, z1, z2; [[nodiscard]] Vector<3> front_top_left() const; [[nodiscard]] Vector<3> front_top_right() const; -- cgit 1.4.1