From 56123b2fbe1ad4e7878556f8d51c551d84fb92e7 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Fri, 23 Aug 2024 18:46:12 +0200 Subject: [PATCH] Fix bounding box of clouds fixes #15031 --- src/client/clouds.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/clouds.h b/src/client/clouds.h index d93fa9b43..e288c5e8a 100644 --- a/src/client/clouds.h +++ b/src/client/clouds.h @@ -133,8 +133,8 @@ private: { float height_bs = m_params.height * BS; float thickness_bs = m_params.thickness * BS; - m_box = aabb3f(-BS * 1000000.0f, height_bs - BS * m_camera_offset.Y, -BS * 1000000.0f, - BS * 1000000.0f, height_bs + thickness_bs - BS * m_camera_offset.Y, BS * 1000000.0f); + m_box = aabb3f(-BS * 1000000.0f, height_bs, -BS * 1000000.0f, + BS * 1000000.0f, height_bs + thickness_bs, BS * 1000000.0f); } void updateMesh();