Contents
Class Vector4dUtil
java.lang.Object
com.hypixel.hytale.math.vector.Vector4dUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisInsideFrustum(org.joml.Vector4d vec) Called to check if this vector is inside the frustum.static voidperspectiveTransform(org.joml.Vector4d vec) Called to perform perspective transformation on this vector.
-
Method Details
-
perspectiveTransform
public static void perspectiveTransform(org.joml.Vector4d vec) Called to perform perspective transformation on this vector.- Parameters:
vec- the vector to perform perspective transformation on.
-
isInsideFrustum
public static boolean isInsideFrustum(org.joml.Vector4d vec) Called to check if this vector is inside the frustum.- Parameters:
vec- the vector to check.- Returns:
trueif the vector is inside the frustum,falseotherwise.
-