Class FrustumProjectionProvider
java.lang.Object
com.hypixel.hytale.math.hitdetection.projection.FrustumProjectionProvider
- All Implemented Interfaces:
MatrixProvider
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected doublestatic final BuilderCodec<FrustumProjectionProvider> protected doubleprotected booleanprotected doubleprotected final Matrix4dprotected doubleprotected doubleprotected doubleprotected doubleprotected final Matrix4dprotected doubleprotected double -
Constructor Summary
ConstructorsConstructorDescriptionFrustumProjectionProvider(Matrix4d matrix, double left, double right, double bottom, double top, double near, double far) -
Method Summary
-
Field Details
-
CODEC
-
matrix
-
rotMatrix
-
invalid
protected boolean invalid -
left
protected double left -
right
protected double right -
bottom
protected double bottom -
top
protected double top -
near
protected double near -
far
protected double far -
yaw
protected double yaw -
pitch
protected double pitch -
roll
protected double roll
-
-
Constructor Details
-
FrustumProjectionProvider
public FrustumProjectionProvider() -
FrustumProjectionProvider
public FrustumProjectionProvider(Matrix4d matrix, double left, double right, double bottom, double top, double near, double far)
-
-
Method Details
-
setLeft
-
setRight
-
setBottom
-
setTop
-
setNear
-
setFar
-
setRotation
-
getMatrix
- Specified by:
getMatrixin interfaceMatrixProvider
-