|
static bool | TriBoxOverlap (Triangle triangle, Vector3 cubeCenter, Vector3 cubeHalfSize) |
| Returns a value indicating whether the given triangle overlaps a cube positioned at the cubeCenter expanding with cubeHalfSize .
|
|
|
const int | X = 0 |
|
const int | Y = 1 |
|
const int | Z = 2 |
|
◆ fmax()
static float KclLibrary.TriangleBoxIntersect.fmax |
( |
double | a, |
|
|
double | b, |
|
|
double | c ) |
|
staticprivate |
◆ fmin()
static float KclLibrary.TriangleBoxIntersect.fmin |
( |
double | a, |
|
|
double | b, |
|
|
double | c ) |
|
staticprivate |
◆ Get()
static float KclLibrary.TriangleBoxIntersect.Get |
( |
Vector3 | v, |
|
|
int | id ) |
|
staticprivate |
◆ planeBoxOverlap()
static bool KclLibrary.TriangleBoxIntersect.planeBoxOverlap |
( |
Vector3 | normal, |
|
|
Vector3 | vert, |
|
|
Vector3 | maxbox ) |
|
staticprivate |
◆ Set()
static void KclLibrary.TriangleBoxIntersect.Set |
( |
Vector3 | v, |
|
|
int | id, |
|
|
float | val ) |
|
staticprivate |
◆ TriBoxOverlap()
static bool KclLibrary.TriangleBoxIntersect.TriBoxOverlap |
( |
Triangle | triangle, |
|
|
Vector3 | cubeCenter, |
|
|
Vector3 | cubeHalfSize ) |
|
static |
Returns a value indicating whether the given triangle overlaps a cube positioned at the cubeCenter expanding with cubeHalfSize .
- Parameters
-
triangle | The Triangle to check for overlaps. |
cubeCenter | The positional Vector3F at which the cube originates. |
cubeHalfSize | The half size Vector3F of a cube. |
- Returns
true
when the triangle intersects with the cube, otherwise false
.
const int KclLibrary.TriangleBoxIntersect.X = 0 |
|
staticprivate |
const int KclLibrary.TriangleBoxIntersect.Y = 1 |
|
staticprivate |
const int KclLibrary.TriangleBoxIntersect.Z = 2 |
|
staticprivate |
The documentation for this class was generated from the following file: