Package org.joml
Class FrustumIntersection
java.lang.Object
org.joml.FrustumIntersection
public class FrustumIntersection
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description static int
INSIDE
static int
INTERSECT
static int
OUTSIDE
static int
PLANE_MASK_NX
static int
PLANE_MASK_NY
static int
PLANE_MASK_NZ
static int
PLANE_MASK_PX
static int
PLANE_MASK_PY
static int
PLANE_MASK_PZ
static int
PLANE_NX
static int
PLANE_NY
static int
PLANE_NZ
static int
PLANE_PX
static int
PLANE_PY
static int
PLANE_PZ
-
Constructor Summary
Constructors Constructor Description FrustumIntersection()
FrustumIntersection(Matrix4fc matrix4fc)
-
Method Summary
Modifier and Type Method Description int
intersectAab(float float1, float float2, float float3, float float4, float float5, float float6)
int
intersectAab(float float1, float float2, float float3, float float4, float float5, float float6, int int1)
int
intersectAab(float float1, float float2, float float3, float float4, float float5, float float6, int int1, int int2)
int
intersectAab(Vector3fc vector3fc, Vector3fc vector3fc2)
int
intersectAab(Vector3fc vector3fc, Vector3fc vector3fc2, int int1)
int
intersectAab(Vector3fc vector3fc, Vector3fc vector3fc2, int int1, int int2)
int
intersectSphere(float float1, float float2, float float3, float float4)
int
intersectSphere(Vector3fc vector3fc, float float1)
FrustumIntersection
set(Matrix4fc matrix4fc)
boolean
testAab(float float1, float float2, float float3, float float4, float float5, float float6)
boolean
testAab(Vector3fc vector3fc, Vector3fc vector3fc2)
boolean
testPoint(float float1, float float2, float float3)
boolean
testPoint(Vector3fc vector3fc)
boolean
testSphere(float float1, float float2, float float3, float float4)
boolean
testSphere(Vector3fc vector3fc, float float1)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
PLANE_NX
public static final int PLANE_NX- See Also:
- Constant Field Values
-
PLANE_PX
public static final int PLANE_PX- See Also:
- Constant Field Values
-
PLANE_NY
public static final int PLANE_NY- See Also:
- Constant Field Values
-
PLANE_PY
public static final int PLANE_PY- See Also:
- Constant Field Values
-
PLANE_NZ
public static final int PLANE_NZ- See Also:
- Constant Field Values
-
PLANE_PZ
public static final int PLANE_PZ- See Also:
- Constant Field Values
-
INTERSECT
public static final int INTERSECT- See Also:
- Constant Field Values
-
INSIDE
public static final int INSIDE- See Also:
- Constant Field Values
-
OUTSIDE
public static final int OUTSIDE- See Also:
- Constant Field Values
-
PLANE_MASK_NX
public static final int PLANE_MASK_NX- See Also:
- Constant Field Values
-
PLANE_MASK_PX
public static final int PLANE_MASK_PX- See Also:
- Constant Field Values
-
PLANE_MASK_NY
public static final int PLANE_MASK_NY- See Also:
- Constant Field Values
-
PLANE_MASK_PY
public static final int PLANE_MASK_PY- See Also:
- Constant Field Values
-
PLANE_MASK_NZ
public static final int PLANE_MASK_NZ- See Also:
- Constant Field Values
-
PLANE_MASK_PZ
public static final int PLANE_MASK_PZ- See Also:
- Constant Field Values
-
-
Constructor Details
-
FrustumIntersection
public FrustumIntersection() -
FrustumIntersection
-
-
Method Details
-
set
-
testPoint
-
testPoint
public boolean testPoint(float float1, float float2, float float3) -
testSphere
-
testSphere
public boolean testSphere(float float1, float float2, float float3, float float4) -
intersectSphere
-
intersectSphere
public int intersectSphere(float float1, float float2, float float3, float float4) -
testAab
-
testAab
public boolean testAab(float float1, float float2, float float3, float float4, float float5, float float6) -
intersectAab
-
intersectAab
public int intersectAab(float float1, float float2, float float3, float float4, float float5, float float6) -
intersectAab
-
intersectAab
public int intersectAab(float float1, float float2, float float3, float float4, float float5, float float6, int int1) -
intersectAab
-
intersectAab
public int intersectAab(float float1, float float2, float float3, float float4, float float5, float float6, int int1, int int2)
-