Class Frustum
java.lang.Object
net.minecraft.client.renderer.culling.Frustum
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
calculateFrustum
(Matrix4f p_113027_, Matrix4f p_113028_) private boolean
cubeCompletelyInFrustum
(float p_194444_, float p_194445_, float p_194446_, float p_194447_, float p_194448_, float p_194449_) private boolean
cubeInFrustum
(double p_113007_, double p_113008_, double p_113009_, double p_113010_, double p_113011_, double p_113012_) private boolean
cubeInFrustum
(float p_113014_, float p_113015_, float p_113016_, float p_113017_, float p_113018_, float p_113019_) private void
boolean
offsetToFullyIncludeCameraCube
(int p_194442_) void
prepare
(double p_113003_, double p_113004_, double p_113005_)
-
Field Details
-
OFFSET_STEP
public static final int OFFSET_STEP- See Also:
-
frustumData
-
viewVector
-
camX
private double camX -
camY
private double camY -
camZ
private double camZ
-
-
Constructor Details
-
Frustum
-
Frustum
-
-
Method Details
-
offsetToFullyIncludeCameraCube
-
prepare
public void prepare(double p_113003_, double p_113004_, double p_113005_) -
calculateFrustum
-
getPlane
private void getPlane(Matrix4f p_113021_, int p_113022_, int p_113023_, int p_113024_, int p_113025_) -
isVisible
-
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_)
-