Contents
Class Quad4d
java.lang.Object
com.hypixel.hytale.math.shape.Quad4d
- Since:
- 24.09.2017
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.joml.Vector4dget(int idx) org.joml.Vector4dgetA()org.joml.Vector4dgetB()org.joml.Vector4dgetC()org.joml.Vector4dorg.joml.Vector4dgetCenter(org.joml.Vector4d target) org.joml.Vector4dgetD()doublegetMax(int component) doublegetMin(int component) org.joml.Vector4dorg.joml.Vector4dbooleanmultiply(org.joml.Matrix4d matrix) voidtoString()
-
Constructor Details
-
Quad4d
public Quad4d(org.joml.Vector4d a, org.joml.Vector4d b, org.joml.Vector4d c, org.joml.Vector4d d) -
Quad4d
public Quad4d() -
Quad4d
public Quad4d(@Nonnull org.joml.Vector4d[] points) -
Quad4d
public Quad4d(@Nonnull org.joml.Vector4d[] points, int a, int b, int c, int d)
-
-
Method Details
-
isFullyInsideFrustum
public boolean isFullyInsideFrustum() -
getA
public org.joml.Vector4d getA() -
getB
public org.joml.Vector4d getB() -
getC
public org.joml.Vector4d getC() -
getD
public org.joml.Vector4d getD() -
get
public org.joml.Vector4d get(int idx) -
getMin
public double getMin(int component) -
getMax
public double getMax(int component) -
multiply
-
multiply
-
to2d
-
getCenter
@Nonnull public org.joml.Vector4d getCenter() -
getCenter
@Nonnull public org.joml.Vector4d getCenter(@Nonnull org.joml.Vector4d target) -
perspectiveTransform
public void perspectiveTransform() -
getRandom
-
getRandom
@Nonnull public org.joml.Vector4d getRandom(@Nonnull Random random, @Nonnull org.joml.Vector4d target) -
toString
-