Doxygen comments (#12)

- organized headers.
- added comments to headers.
- fixed a solver determinism bug.
- removed some un-used math functions
This commit is contained in:
Erin Catto 2026-06-10 13:21:14 -07:00 • committed by GitHub
commit d8fbeb444e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
53 changed files with 8973 additions and 1812 deletions

View file

@ -288,7 +288,14 @@ static inline bool b3IsBetterCullCandidate( float score, float separation, float
return separation < bestSeparation - separationTol;
}
int b3CullPoints( b3Point2D* points, int count )
typedef struct b3Point2D
{
b3Vec2 p;
float separation;
int originalIndex;
} b3Point2D;
static int b3CullPoints( b3Point2D* points, int count )
{
if ( count <= 1 )
{