summary refs log tree commit diff
path: root/src/Math/Grid.hpp
diff options
context:
space:
mode:
authorMel <einebeere@gmail.com>2023-07-08 03:25:44 +0200
committerMel <einebeere@gmail.com>2023-07-08 03:25:44 +0200
commitfe2baedc760c2f29e2c720f6b1132a2de33c5430 (patch)
treedfbe1c72a17805a3cab6e0d47433e9021890c9ca /src/Math/Grid.hpp
parent41fbca10f6c6cdd9c1623f1347e7ecb40f5e7f59 (diff)
downloadmeowcraft-fe2baedc760c2f29e2c720f6b1132a2de33c5430.tar.zst
meowcraft-fe2baedc760c2f29e2c720f6b1132a2de33c5430.zip
Use own size types
Diffstat (limited to 'src/Math/Grid.hpp')
-rw-r--r--src/Math/Grid.hpp4
1 files changed, 2 insertions, 2 deletions
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;