From e56497a9a9e66fc912aadc79e979f51a7f6fe81c Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 4 Feb 2024 16:22:56 +0100 Subject: fix evil typo slowing down raycast --- src/raycast.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/raycast.cpp b/src/raycast.cpp index 9789ec2f..b6ed2158 100644 --- a/src/raycast.cpp +++ b/src/raycast.cpp @@ -191,6 +191,9 @@ raycast_result_s do_raycasting(std::conditional_t, 3> nbs = {}; + //Debug{} << "------"; for (unsigned k = 0; b && k <= nsteps; k++) { @@ -256,9 +259,6 @@ raycast_result_s do_raycasting(std::conditional_t, 3> nbs = {}; - if (center.chunk3() != last_ch) [[unlikely]] { last_ch = center.chunk3(); -- cgit v1.2.3