Class Frustum

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

public class Frustum extends Object
  • Field Details

    • OFFSET_STEP

      public static final int OFFSET_STEP
      See Also:
    • frustumData

      private final Vector4f[] frustumData
    • viewVector

      private Vector4f viewVector
    • camX

      private double camX
    • camY

      private double camY
    • camZ

      private double camZ
  • Constructor Details

  • Method Details

    • offsetToFullyIncludeCameraCube

      public Frustum offsetToFullyIncludeCameraCube(int p_194442_)
    • prepare

      public void prepare(double p_113003_, double p_113004_, double p_113005_)
    • calculateFrustum

      private void calculateFrustum(Matrix4f p_113027_, Matrix4f p_113028_)
    • getPlane

      private void getPlane(Matrix4f p_113021_, int p_113022_, int p_113023_, int p_113024_, int p_113025_)
    • isVisible

      public boolean isVisible(AABB p_113030_)
    • cubeInFrustum

      private boolean cubeInFrustum(double p_113007_, double p_113008_, double p_113009_, double p_113010_, double p_113011_, double p_113012_)
    • cubeInFrustum

      private boolean cubeInFrustum(float p_113014_, float p_113015_, float p_113016_, float p_113017_, float p_113018_, float p_113019_)
    • cubeCompletelyInFrustum

      private boolean cubeCompletelyInFrustum(float p_194444_, float p_194445_, float p_194446_, float p_194447_, float p_194448_, float p_194449_)