Class ClippingHelper
java.lang.Object
net.minecraft.client.renderer.culling.ClippingHelper
-
Field Summary
Modifier and TypeFieldDescriptionprivate double
private double
private double
private final Vector4f[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
calculateFrustum
(Matrix4f p_228956_1_, Matrix4f p_228956_2_) private boolean
cubeInFrustum
(double p_228953_1_, double p_228953_3_, double p_228953_5_, double p_228953_7_, double p_228953_9_, double p_228953_11_) private boolean
cubeInFrustum
(float p_228954_1_, float p_228954_2_, float p_228954_3_, float p_228954_4_, float p_228954_5_, float p_228954_6_) private void
boolean
isVisible
(AxisAlignedBB p_228957_1_) void
prepare
(double p_228952_1_, double p_228952_3_, double p_228952_5_)
-
Field Details
-
frustumData
-
camX
private double camX -
camY
private double camY -
camZ
private double camZ
-
-
Constructor Details
-
ClippingHelper
-
-
Method Details
-
prepare
public void prepare(double p_228952_1_, double p_228952_3_, double p_228952_5_) -
calculateFrustum
-
getPlane
private void getPlane(Matrix4f p_228955_1_, int p_228955_2_, int p_228955_3_, int p_228955_4_, int p_228955_5_) -
isVisible
-
cubeInFrustum
private boolean cubeInFrustum(double p_228953_1_, double p_228953_3_, double p_228953_5_, double p_228953_7_, double p_228953_9_, double p_228953_11_) -
cubeInFrustum
private boolean cubeInFrustum(float p_228954_1_, float p_228954_2_, float p_228954_3_, float p_228954_4_, float p_228954_5_, float p_228954_6_)
-