net.minecraft.client.render

public class Frustum

net.minecraft.client.renderer.culling.Frustum
net.minecraft.class_4604
net.minecraft.client.render.Frustum

Field summary

Modifier and TypeField
public static final int
OFFSET_STEP
field_34820
RECESSION_SCALE
private final org.joml.FrustumIntersection
intersection
field_40823
frustumIntersection
private final org.joml.Matrix4f
matrix
field_40824
positionProjectionMatrix
private org.joml.Vector4f
viewVector
field_34821
recession
private double
camX
field_20995
x
private double
camY
field_20996
y
private double
camZ
field_20997
z

Constructor summary

ModifierConstructor
public (org.joml.Matrix4f positionMatrix, org.joml.Matrix4f projectionMatrix)
public (Frustum frustum)

Method summary

Modifier and TypeMethod
public Frustum
offset(float offset)
method_74403(float arg0)
offset(float distance)
public Frustum
offsetToFullyIncludeCameraCube(int cubeSize)
method_38557(int arg0)
coverBoxAroundSetPosition(int boxSize)
public void
prepare(double camX, double camY, double camZ)
method_23088(double arg0, double arg1, double arg2)
setPosition(double cameraX, double cameraY, double cameraZ)
private void
calculateFrustum(org.joml.Matrix4f modelView, org.joml.Matrix4f projection)
method_23092(org.joml.Matrix4f arg0, org.joml.Matrix4f arg1)
init(org.joml.Matrix4f positionMatrix, org.joml.Matrix4f projectionMatrix)
public boolean
isVisible(AABB bb)
method_23093(class_238 arg0)
isVisible(Box box)
public int
cubeInFrustum(BoundingBox bb)
method_62978(class_3341 arg0)
intersectAab(BlockBox box)
private int
cubeInFrustum(double minX, double minY, double minZ, double maxX, double maxY, double maxZ)
method_23089(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5)
intersectAab(double minX, double minY, double minZ, double maxX, double maxY, double maxZ)
public boolean
pointInFrustum(double x, double y, double z)
method_74404(double arg0, double arg1, double arg2)
intersectPoint(double x, double y, double z)
public org.joml.Vector4f[]
getFrustumPoints()
method_62342()
getBoundaryPoints()
public double
getCamX()
method_62343()
getX()
public double
getCamY()
method_62344()
getY()
public double
getCamZ()
method_62345()
getZ()