public class ClippingHelperImpl
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private double |
cameraX |
private double |
cameraY |
private double |
cameraZ |
private Vector4f[] |
frustum |
Constructor and Description |
---|
ClippingHelperImpl(Matrix4f p_i226026_1_,
Matrix4f p_i226026_2_) |
Modifier and Type | Method and Description |
---|---|
private void |
calculateFrustum(Matrix4f p_228956_1_,
Matrix4f p_228956_2_) |
boolean |
isBoundingBoxInFrustum(AxisAlignedBB aabbIn) |
private boolean |
isBoxInFrustum(double minX,
double minY,
double minZ,
double maxX,
double maxY,
double maxZ) |
private boolean |
isBoxInFrustumRaw(float minX,
float minY,
float minZ,
float maxX,
float maxY,
float maxZ) |
void |
setCameraPosition(double camX,
double camY,
double camZ) |
private void |
setFrustumPlane(Matrix4f p_228955_1_,
int p_228955_2_,
int p_228955_3_,
int p_228955_4_,
int p_228955_5_) |
private final Vector4f[] frustum
private double cameraX
private double cameraY
private double cameraZ
public void setCameraPosition(double camX, double camY, double camZ)
private void setFrustumPlane(Matrix4f p_228955_1_, int p_228955_2_, int p_228955_3_, int p_228955_4_, int p_228955_5_)
public boolean isBoundingBoxInFrustum(AxisAlignedBB aabbIn)
private boolean isBoxInFrustum(double minX, double minY, double minZ, double maxX, double maxY, double maxZ)
private boolean isBoxInFrustumRaw(float minX, float minY, float minZ, float maxX, float maxY, float maxZ)