Add -ffast-math

This commit is contained in:
Patrick Nicolas
2026-01-30 21:10:08 +01:00
parent bd264e23b6
commit 6afa5fc67f
3 changed files with 10 additions and 8 deletions
+2 -1
View File
@@ -228,9 +228,10 @@ void scene::render_world(
},
.minDepth = 0,
.maxDepth = 1,
.nearZ = std::numeric_limits<float>::infinity(),
.nearZ = std::bit_cast<float>(0x7f800000), // infinity
.farZ = constants::lobby::near_plane,
});
static_assert(std::numeric_limits<float>::is_iec559);
}
}