Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions src/SB/Core/x/xClumpColl.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,16 @@ struct xClumpCollBSPTree
xClumpCollBSPTriangle* triangles;
};

struct xClumpCollV3dGradient
{
F32 dydx;
F32 dzdx;
F32 dxdy;
F32 dzdy;
F32 dxdz;
F32 dydz;
};

struct nodeInfo
{
U32 type;
Expand All @@ -61,5 +71,13 @@ struct TempAtomicList

void xClumpColl_InstancePointers(xClumpCollBSPTree* tree, RpClump* clump);
xClumpCollBSPTree* xClumpColl_StaticBufferInit(void* data, U32 param_2);
void xClumpColl_ForAllCapsuleLeafNodeIntersections(
xClumpCollBSPTree* tree,
RwLine* line,
F32 dist,
xClumpCollV3dGradient* grad,
int (*tri)(xClumpCollBSPTriangle*, void*),
void* data
);

#endif
Loading