Class Vector4dUtil

java.lang.Object
com.hypixel.hytale.math.vector.Vector4dUtil

public final class Vector4dUtil extends Object
  • 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:
      true if the vector is inside the frustum, false otherwise.