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