Class Frustum

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

public class Frustum extends Object
  • Field Details

    • frustumData

      private final Vector4f[] frustumData
    • camX

      private double camX
    • camY

      private double camY
    • camZ

      private double camZ
  • Constructor Details

  • Method Details

    • 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_)