-
Notifications
You must be signed in to change notification settings - Fork 38
xCollide #680
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
xCollide #680
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thanks seil.
|
| Section | From | To | Bytes | |
|---|---|---|---|---|
| 📈 | .rodata |
0.00% | 66.67% | +16 |
| ✅ | .sbss |
28.57% | 100.00% | +17 |
| ✅ | .sbss2 |
0.00% | 100.00% | +32 |
| 📈 | .sdata2 |
44.64% | 94.44% | +39 |
| 📈 | .text |
13.41% | 95.92% | +22280 |
| Function | From | To | Bytes | |
|---|---|---|---|---|
| 📈 | xSphereHitsOBB_nu(const xSphere*, const xBox*, const xMat4x3*, xCollis*) |
0.59% | 94.26% | +895 |
| ✅ | sphereHitsModelCB(RpIntersection*, RpCollisionTriangle*, float, void*) |
0.00% | 100.00% | +52 |
| ✅ | xSphereHitsModel(const xSphere*, const xModelInstance*, xCollis*) |
1.14% | 100.00% | +486 |
| ✅ | xParabolaEnvCB(xClumpCollBSPTriangle*, void*) |
0.00% | 100.00% | +1300 |
| 📈 | xParabolaHitsEnv(xParabola*, const xEnv*, xCollis*) |
0.97% | 92.14% | +525 |
| ✅ | Mgc_BoxBoxTest(const xBox*, const xMat4x3*, const xBox*, const xMat4x3*) |
0.00% | 100.00% | +2724 |
| ✅ | xBoxHitsObb(const xBox*, const xBox*, const xMat4x3*, xCollis*) |
5.00% | 100.00% | +106 |
| ✅ | xCollideCalcTri(xCollis::tri_data&, const xModelInstance&, const xVec3&, const xVec3&) |
0.28% | 100.00% | +1448 |
| ✅ | @unnamed@xCollide_cpp@::render_tri(xCollis::tri_data&, const xModelInstance&) |
0.00% | 100.00% | +4 |
| ✅ | xCollisTriHit(const xCollis::tri_data&, const xModelInstance&) |
5.02% | 100.00% | +604 |
| ✅ | _rpCollBSPTreeForAllCapsuleLeafNodeIntersections(RpCollBSPTree*, RwLine*, float, RpV3dGradient*, int (*)(int, int, void*), void*) |
0.29% | 100.00% | +1954 |
| ✅ | nodeInfo::operator=(const nodeInfo&) |
0.00% | 100.00% | +20 |
| ✅ | RwLine::operator=(const RwLine&) |
0.00% | 100.00% | +52 |
| ✅ | xSweptSpherePrepare(xSweptSphere*, xVec3*, xVec3*, float) |
0.70% | 100.00% | +568 |
| ✅ | xSweptSphereGetResults(xSweptSphere*) |
1.01% | 100.00% | +392 |
| 📈 | xSweptSphereToTriangle(xSweptSphere*, xVec3*, xVec3*, xVec3*) |
0.27% | 93.00% | +1940 |
| ✅ | xSweptSphereToSphere(xSweptSphere*, xSphere*) |
0.00% | 100.00% | +316 |
| 📈 | xSweptSphereToBox(xSweptSphere*, xBox*, xMat4x3*) |
0.23% | 95.70% | +2337 |
| ✅ | SweptSphereHitsEnvCB(RpIntersection*, RpWorldSector*, RpCollisionTriangle*, float, void*) |
4.12% | 100.00% | +130 |
| ✅ | SweptSphereLeafNodeCB(xClumpCollBSPTriangle*, void*) |
3.33% | 100.00% | +162 |
| 📈 | xSweptSphereToEnv(xSweptSphere*, xEnv*) |
90.32% | 90.74% | +1 |
| 📈 | SweptSphereModelCB(int, int, void*) |
0.00% | 98.75% | +189 |
| 📈 | xSweptSphereToModel(xSweptSphere*, RpAtomic*, RwMatrixTag*) |
0.85% | 91.15% | +595 |
| ✅ | SweptSphereHitsEntCB(xScene*, xRay3*, xQCData*, xEnt*, void*) |
0.00% | 100.00% | +980 |
| 📈 | xSweptSphereToScene(xSweptSphere*, xScene*, xEnt*, unsigned char) |
1.47% | 95.47% | +357 |
| 📈 | xSweptSphereToStatDyn(xSweptSphere*, xScene*, xEnt*, unsigned char) |
1.89% | 91.55% | +265 |
| 📈 | xSweptSphereToNPC(xSweptSphere*, xScene*, xEnt*, unsigned char) |
2.15% | 90.38% | +229 |
| 📈 | xSweptSphereToNonMoving(xSweptSphere*, xScene*, xEnt*, unsigned char) |
1.57% | 92.92% | +325 |
| ✅ | xSphereHitsCapsule(const xVec3&, float, const xVec3&, const xVec3&, float) |
1.47% | 100.00% | +374 |
| ✅ | xSphereHitsBound(const xSphere&, const xBound&) |
3.45% | 100.00% | +112 |
| 📈 | xOBBHitsOBB(const xBox&, const xMat4x3&, const xBox&, const xMat4x3&) |
0.33% | 95.44% | +1597 |
| ✅ | xSphereHitsVCylinder(const xVec3&, float, const xVec3&, float, float) |
1.77% | 100.00% | +310 |
| ✅ | xSphereHitsVCircle(const xVec3&, float, const xVec3&, float) |
2.12% | 100.00% | +258 |
| ✅ | xParabolaEvalVel(const xParabola*, xVec3*, float) |
4.00% | 100.00% | +96 |
| ✅ | xParabolaEvalPos(const xParabola*, xVec3*, float) |
3.12% | 100.00% | +124 |
| ✅ | xSphereHitsOBB(const xSphere&, const xBox&, const xMat4x3&) |
15.56% | 100.00% | +30 |
| ✅ | xSphereHitsOBB(const xVec3&, float, const xBox&, const xMat4x3&) |
0.00% | 100.00% | +84 |
| ✅ | xSphereHitsBox(const xVec3&, float, const xBox&) |
0.00% | 100.00% | +148 |
| ✅ | xSphereHitsBox(const xSphere&, const xBox&) |
0.00% | 100.00% | +36 |
| ✅ | xSphereHitsSphere(const xSphere&, const xSphere&) |
0.00% | 100.00% | +40 |
| ✅ | xSphereHitsSphere(const xVec3&, float, const xVec3&, float) |
5.00% | 100.00% | +106 |
1 similar comment
|
| Section | From | To | Bytes | |
|---|---|---|---|---|
| 📈 | .rodata |
0.00% | 66.67% | +16 |
| ✅ | .sbss |
28.57% | 100.00% | +17 |
| ✅ | .sbss2 |
0.00% | 100.00% | +32 |
| 📈 | .sdata2 |
44.64% | 94.44% | +39 |
| 📈 | .text |
13.41% | 95.92% | +22280 |
| Function | From | To | Bytes | |
|---|---|---|---|---|
| 📈 | xSphereHitsOBB_nu(const xSphere*, const xBox*, const xMat4x3*, xCollis*) |
0.59% | 94.26% | +895 |
| ✅ | sphereHitsModelCB(RpIntersection*, RpCollisionTriangle*, float, void*) |
0.00% | 100.00% | +52 |
| ✅ | xSphereHitsModel(const xSphere*, const xModelInstance*, xCollis*) |
1.14% | 100.00% | +486 |
| ✅ | xParabolaEnvCB(xClumpCollBSPTriangle*, void*) |
0.00% | 100.00% | +1300 |
| 📈 | xParabolaHitsEnv(xParabola*, const xEnv*, xCollis*) |
0.97% | 92.14% | +525 |
| ✅ | Mgc_BoxBoxTest(const xBox*, const xMat4x3*, const xBox*, const xMat4x3*) |
0.00% | 100.00% | +2724 |
| ✅ | xBoxHitsObb(const xBox*, const xBox*, const xMat4x3*, xCollis*) |
5.00% | 100.00% | +106 |
| ✅ | xCollideCalcTri(xCollis::tri_data&, const xModelInstance&, const xVec3&, const xVec3&) |
0.28% | 100.00% | +1448 |
| ✅ | @unnamed@xCollide_cpp@::render_tri(xCollis::tri_data&, const xModelInstance&) |
0.00% | 100.00% | +4 |
| ✅ | xCollisTriHit(const xCollis::tri_data&, const xModelInstance&) |
5.02% | 100.00% | +604 |
| ✅ | _rpCollBSPTreeForAllCapsuleLeafNodeIntersections(RpCollBSPTree*, RwLine*, float, RpV3dGradient*, int (*)(int, int, void*), void*) |
0.29% | 100.00% | +1954 |
| ✅ | nodeInfo::operator=(const nodeInfo&) |
0.00% | 100.00% | +20 |
| ✅ | RwLine::operator=(const RwLine&) |
0.00% | 100.00% | +52 |
| ✅ | xSweptSpherePrepare(xSweptSphere*, xVec3*, xVec3*, float) |
0.70% | 100.00% | +568 |
| ✅ | xSweptSphereGetResults(xSweptSphere*) |
1.01% | 100.00% | +392 |
| 📈 | xSweptSphereToTriangle(xSweptSphere*, xVec3*, xVec3*, xVec3*) |
0.27% | 93.00% | +1940 |
| ✅ | xSweptSphereToSphere(xSweptSphere*, xSphere*) |
0.00% | 100.00% | +316 |
| 📈 | xSweptSphereToBox(xSweptSphere*, xBox*, xMat4x3*) |
0.23% | 95.70% | +2337 |
| ✅ | SweptSphereHitsEnvCB(RpIntersection*, RpWorldSector*, RpCollisionTriangle*, float, void*) |
4.12% | 100.00% | +130 |
| ✅ | SweptSphereLeafNodeCB(xClumpCollBSPTriangle*, void*) |
3.33% | 100.00% | +162 |
| 📈 | xSweptSphereToEnv(xSweptSphere*, xEnv*) |
90.32% | 90.74% | +1 |
| 📈 | SweptSphereModelCB(int, int, void*) |
0.00% | 98.75% | +189 |
| 📈 | xSweptSphereToModel(xSweptSphere*, RpAtomic*, RwMatrixTag*) |
0.85% | 91.15% | +595 |
| ✅ | SweptSphereHitsEntCB(xScene*, xRay3*, xQCData*, xEnt*, void*) |
0.00% | 100.00% | +980 |
| 📈 | xSweptSphereToScene(xSweptSphere*, xScene*, xEnt*, unsigned char) |
1.47% | 95.47% | +357 |
| 📈 | xSweptSphereToStatDyn(xSweptSphere*, xScene*, xEnt*, unsigned char) |
1.89% | 91.55% | +265 |
| 📈 | xSweptSphereToNPC(xSweptSphere*, xScene*, xEnt*, unsigned char) |
2.15% | 90.38% | +229 |
| 📈 | xSweptSphereToNonMoving(xSweptSphere*, xScene*, xEnt*, unsigned char) |
1.57% | 92.92% | +325 |
| ✅ | xSphereHitsCapsule(const xVec3&, float, const xVec3&, const xVec3&, float) |
1.47% | 100.00% | +374 |
| ✅ | xSphereHitsBound(const xSphere&, const xBound&) |
3.45% | 100.00% | +112 |
| 📈 | xOBBHitsOBB(const xBox&, const xMat4x3&, const xBox&, const xMat4x3&) |
0.33% | 95.44% | +1597 |
| ✅ | xSphereHitsVCylinder(const xVec3&, float, const xVec3&, float, float) |
1.77% | 100.00% | +310 |
| ✅ | xSphereHitsVCircle(const xVec3&, float, const xVec3&, float) |
2.12% | 100.00% | +258 |
| ✅ | xParabolaEvalVel(const xParabola*, xVec3*, float) |
4.00% | 100.00% | +96 |
| ✅ | xParabolaEvalPos(const xParabola*, xVec3*, float) |
3.12% | 100.00% | +124 |
| ✅ | xSphereHitsOBB(const xSphere&, const xBox&, const xMat4x3&) |
15.56% | 100.00% | +30 |
| ✅ | xSphereHitsOBB(const xVec3&, float, const xBox&, const xMat4x3&) |
0.00% | 100.00% | +84 |
| ✅ | xSphereHitsBox(const xVec3&, float, const xBox&) |
0.00% | 100.00% | +148 |
| ✅ | xSphereHitsBox(const xSphere&, const xBox&) |
0.00% | 100.00% | +36 |
| ✅ | xSphereHitsSphere(const xSphere&, const xSphere&) |
0.00% | 100.00% | +40 |
| ✅ | xSphereHitsSphere(const xVec3&, float, const xVec3&, float) |
5.00% | 100.00% | +106 |
JoshSanch
approved these changes
Nov 29, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Ported xCollide code from seils pc port repo.
Thank you Seil.