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;