Package org.joml
Class GeometryUtils
java.lang.Object
org.joml.GeometryUtils
public class GeometryUtils
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description GeometryUtils()
-
Method Summary
Modifier and Type Method Description static void
bitangent(Vector3fc v1, Vector2fc uv1, Vector3fc v2, Vector2fc uv2, Vector3fc v3, Vector2fc uv3, Vector3f dest)
static void
normal(float v0X, float v0Y, float v0Z, float v1X, float v1Y, float v1Z, float v2X, float v2Y, float v2Z, Vector3f dest)
static void
normal(Vector3fc v0, Vector3fc v1, Vector3fc v2, Vector3f dest)
static void
perpendicular(float x, float y, float z, Vector3f dest1, Vector3f dest2)
static void
perpendicular(Vector3fc v, Vector3f dest1, Vector3f dest2)
static void
tangent(Vector3fc v1, Vector2fc uv1, Vector3fc v2, Vector2fc uv2, Vector3fc v3, Vector2fc uv3, Vector3f dest)
static void
tangentBitangent(Vector3fc v1, Vector2fc uv1, Vector3fc v2, Vector2fc uv2, Vector3fc v3, Vector2fc uv3, Vector3f destTangent, Vector3f destBitangent)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
GeometryUtils
public GeometryUtils()
-
-
Method Details
-
perpendicular
-
perpendicular
-
normal
-
normal
public static void normal(float v0X, float v0Y, float v0Z, float v1X, float v1Y, float v1Z, float v2X, float v2Y, float v2Z, Vector3f dest) -
tangent
-
bitangent
-
tangentBitangent
-