summaryrefslogtreecommitdiffstats
path: root/core/math
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-02-28 14:25:35 +0100
committerRémi Verschelde <rverschelde@gmail.com>2024-02-28 14:25:35 +0100
commit3a08c646ee1e9884a020a3f7ff10c6c9d28b60ba (patch)
tree3dfc7aacb349bb893df0fb4e438f8138d8c11e7a /core/math
parentdf78c0636d79c9545a283e0e2a926d623998cc27 (diff)
downloadredot-engine-3a08c646ee1e9884a020a3f7ff10c6c9d28b60ba.tar.gz
Pre-commit: Update to clang-format 17.0.6 and black 24.2.0
Diffstat (limited to 'core/math')
-rw-r--r--core/math/geometry_3d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/geometry_3d.cpp b/core/math/geometry_3d.cpp
index e2edf8b23e..4d55455166 100644
--- a/core/math/geometry_3d.cpp
+++ b/core/math/geometry_3d.cpp
@@ -393,7 +393,7 @@ static inline void _build_faces(uint8_t ***p_cell_status, int x, int y, int z, i
return;
}
-#define vert(m_idx) Vector3(((m_idx)&4) >> 2, ((m_idx)&2) >> 1, (m_idx)&1)
+#define vert(m_idx) Vector3(((m_idx) & 4) >> 2, ((m_idx) & 2) >> 1, (m_idx) & 1)
static const uint8_t indices[6][4] = {
{ 7, 6, 4, 5 },