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:
    • intersection

      private final org.joml.FrustumIntersection intersection
    • matrix

      private final org.joml.Matrix4f matrix
    • viewVector

      private org.joml.Vector4f viewVector
    • camX

      private double camX
    • camY

      private double camY
    • camZ

      private double camZ
  • Constructor Details

    • Frustum

      public Frustum(org.joml.Matrix4f p_254207_, org.joml.Matrix4f p_254535_)
    • Frustum

      public Frustum(Frustum p_194440_)
  • 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(org.joml.Matrix4f p_253909_, org.joml.Matrix4f p_254521_)
    • 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_)