Class ClippingHelper

java.lang.Object
net.minecraft.client.renderer.culling.ClippingHelper

public class ClippingHelper extends Object
  • Field Details

    • frustumData

      private final Vector4f[] frustumData
    • camX

      private double camX
    • camY

      private double camY
    • camZ

      private double camZ
  • Constructor Details

    • ClippingHelper

      public ClippingHelper(Matrix4f p_i226026_1_, Matrix4f p_i226026_2_)
  • Method Details

    • prepare

      public void prepare(double p_228952_1_, double p_228952_3_, double p_228952_5_)
    • calculateFrustum

      private void calculateFrustum(Matrix4f p_228956_1_, Matrix4f p_228956_2_)
    • getPlane

      private void getPlane(Matrix4f p_228955_1_, int p_228955_2_, int p_228955_3_, int p_228955_4_, int p_228955_5_)
    • isVisible

      public boolean isVisible(AxisAlignedBB p_228957_1_)
    • cubeInFrustum

      private boolean cubeInFrustum(double p_228953_1_, double p_228953_3_, double p_228953_5_, double p_228953_7_, double p_228953_9_, double p_228953_11_)
    • cubeInFrustum

      private boolean cubeInFrustum(float p_228954_1_, float p_228954_2_, float p_228954_3_, float p_228954_4_, float p_228954_5_, float p_228954_6_)