|
| bool | LineCheck (TkDOPLineCollisionCheck< COLL_DATA_PROVIDER, KDOP_IDX_TYPE > &Check, TTraversalHistory< KDOP_IDX_TYPE > History) const |
| | Determines the line in the FkDOPLineCollisionCheck intersects this node. 更多...
|
| |
| FORCEINLINE void | LineCheckBounds (TkDOPLineCollisionCheck< COLL_DATA_PROVIDER, KDOP_IDX_TYPE > &Check, FVector4 &HitTime, int32 NodeHit[4]) const |
| | The slab testing algorithm is based on the following papers. 更多...
|
| |
| bool | LineCheckPreCalculated (TkDOPLineCollisionCheck< COLL_DATA_PROVIDER, KDOP_IDX_TYPE > &Check, const FVector4 &NodeHitTime, TTraversalHistory< KDOP_IDX_TYPE > History, int32 *NodeHit) const |
| | Determines the line in the FkDOPLineCollisionCheck intersects this node. 更多...
|
| |
| bool | LineCheckTriangles (TkDOPLineCollisionCheck< COLL_DATA_PROVIDER, KDOP_IDX_TYPE > &Check, const TTraversalHistory< KDOP_IDX_TYPE > &History) const |
| | Works through the list of triangles in this node checking each one for a collision. 更多...
|
| |
| FBox | SplitTriangleList (int32 Start, int32 NumTris, TArray< FkDOPBuildCollisionTriangle< KDOP_IDX_TYPE > > &BuildTriangles, kDOPArray< FTriangleSOA > &SOATriangles, kDOPArray< NodeType > &Nodes) |
| | Determines if the node is a leaf or not. 更多...
|
| |
|
FORCEINLINE | TkDOPNode () |
| | Inits the data to no child nodes and an inverted volume
|
| |
template<typename COLL_DATA_PROVIDER, typename KDOP_IDX_TYPE>
struct TkDOPNode< COLL_DATA_PROVIDER, KDOP_IDX_TYPE >
A node in the kDOP tree.
The node contains the kDOP volume that encompasses it's children and/or triangles
template<typename COLL_DATA_PROVIDER , typename KDOP_IDX_TYPE >
| FORCEINLINE void TkDOPNode< COLL_DATA_PROVIDER, KDOP_IDX_TYPE >::LineCheckBounds |
( |
TkDOPLineCollisionCheck< COLL_DATA_PROVIDER, KDOP_IDX_TYPE > & |
Check, |
|
|
FVector4 & |
HitTime, |
|
|
int32 |
NodeHit[4] |
|
) |
| const |
|
inline |