Fix bounding box of clouds

fixes #15031
This commit is contained in:
sfan5 2024-08-23 18:46:12 +02:00 committed by SmallJoker
parent dbf2d26a85
commit ba65eb953c

@ -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();