Method | Description | |
---|---|---|
BoxTriangles ( Vector3 a, Vector3 b ) : IEnumerable |
||
BoxTrianglesAndSides ( Vector3 a, Vector3 b ) : IEnumerable |
||
CheckLineBox ( |
Warning: randomly returns incorrect hit position (back side of box).
|
|
CheckLineBox ( Vector3 B1, Vector3 B2, Vector3 L1, Vector3 L2, Vector3 &Hit ) : bool | ||
CheckLineBoxExact ( |
||
RayTriangle ( |
Method | Description | |
---|---|---|
GetIntersection ( float fDst1, float fDst2, Vector3 P1, Vector3 P2, Vector3 &Hit ) : bool | ||
InBox ( Vector3 Hit, Vector3 B1, Vector3 B2, int Axis ) : bool | ||
Interpolate ( Vector3 a, Vector3 b, float f ) : Vector3 | ||
PointInBox ( Vector3 v, |
||
dot ( Vector3 u, Vector3 v ) : float |
public static BoxTriangles ( Vector3 a, Vector3 b ) : IEnumerable |
||
a | Vector3 | |
b | Vector3 | |
return | IEnumerable |
public static BoxTrianglesAndSides ( Vector3 a, Vector3 b ) : IEnumerable |
||
a | Vector3 | |
b | Vector3 | |
return | IEnumerable |
public static CheckLineBox ( |
||
box | ||
line | ||
hit | Vector3 | |
return | bool |
public static CheckLineBox ( Vector3 B1, Vector3 B2, Vector3 L1, Vector3 L2, Vector3 &Hit ) : bool | ||
B1 | Vector3 | |
B2 | Vector3 | |
L1 | Vector3 | |
L2 | Vector3 | |
Hit | Vector3 | |
return | bool |
public static CheckLineBoxExact ( |
||
line | ||
box | ||
return | BlockPosSide? |
public static RayTriangle ( |
||
R | ||
T | ||
I | Vector3 | |
return | int |