public final class MPSBoundingBoxIntersectionTestType
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static long |
AxisAligned
This intersection test is potentially slower than
MPSBoundingBoxIntersectionTestTypeFast but does not generate false negatives for
axis aligned rays (i.e.
|
static long |
Default
Use the default MPSBoundingBoxIntersectionTestTypeAxisAligned ray/bounding box
intersection test.
|
static long |
Fast
This intersection test is potentially faster than
MPSBoundingBoxIntersectionTestTypeAxisAligned but can generate false negatives for
axis aligned rays (i.e.
|
public static final long Default
Note: this option was equivalent to MPSBoundingBoxIntersectionTestTypeFast in macOS 10.14/iOS 12.0. This option was changed in macOS 10.15/iOS 13.0 to handle axis-aligned rays correctly by default. The old behavior can be restored by explicitly setting the intersection test type to MPSBoundingBoxIntersectionTestTypeFast on macOS 10.15/iOS 13.0 and above.
public static final long AxisAligned
public static final long Fast