From 3592090b34d3f711c18b28f86dedc09fddf83d31 Mon Sep 17 00:00:00 2001 From: 3makJoud <5+3makjoud@noreply.neolegacy.dev> Date: Sat, 5 Dec 2026 02:52:10 +0000 Subject: [PATCH] Paintings or entities disappearing when placing an item frame is patched! --- Minecraft.Client/FrustumData.cpp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Minecraft.Client/FrustumData.cpp b/Minecraft.Client/FrustumData.cpp index 177a51f7..520a688c 100644 --- a/Minecraft.Client/FrustumData.cpp +++ b/Minecraft.Client/FrustumData.cpp @@ -77,8 +77,15 @@ bool FrustumData::cubeInFrustum(double x1, double y1, double z1, double x2, doub if (m_Frustum[i][A] * (x2) + m_Frustum[i][B] * (y1) + m_Frustum[i][C] * (z2) + m_Frustum[i][D] > 0) continue; if (m_Frustum[i][A] * (x1) + m_Frustum[i][B] * (y2) + m_Frustum[i][C] * (z2) + m_Frustum[i][D] > 0) continue; if (m_Frustum[i][A] * (x2) + m_Frustum[i][B] * (y2) + m_Frustum[i][C] * (z2) + m_Frustum[i][D] > 0) continue; - - return false; + + // @CDevJoud: this is a very simple temp fix. + // for now we just return true. the real problem is on how frustum calculations are made. + // in the newer rebase i will make sure to solve the real issue of the frustum culler calculations with a better + // approach. I find solving frustum calculation in this codebase is a nightmare! :( + // this fix may or may not result in future glitches so if u encounter any problem just let me know! + // old value: + // return false; + return true; } return true;