Class MathUtil

java.lang.Object
foundry.veil.impl.quasar.MathUtil

public class MathUtil extends Object
  • Constructor Details

    • MathUtil

      public MathUtil()
  • Method Details

    • angleCos

      public static float angleCos(org.joml.Vector3f v1, org.joml.Vector3f v2)
    • angle

      public static float angle(org.joml.Vector3f v1, org.joml.Vector3f v2)
    • vec4fFromVec3

      public static org.joml.Vector4f vec4fFromVec3(net.minecraft.world.phys.Vec3 vec3, float w)
    • copyVector4fArray

      public static org.joml.Vector4f[] copyVector4fArray(org.joml.Vector4f[] array)
    • copyVector4f

      public static org.joml.Vector4f copyVector4f(org.joml.Vector4f vector)
    • colorFromVec4f

      public static int colorFromVec4f(org.joml.Vector4f color)
    • vec4fToVec3List

      public static net.minecraft.world.phys.Vec3[] vec4fToVec3List(org.joml.Vector4f[] vec4fList)