Skip to content

Commit

Permalink
CI fix
Browse files Browse the repository at this point in the history
  • Loading branch information
erincatto committed Dec 22, 2024
1 parent 9eb6dde commit c5fbb58
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions src/distance.c
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ static void b2MakeSimplexCache( b2SimplexCache* cache, const b2Simplex* simplex
// vector of the simplex. For example, the normal vector of a line segment
// can be computed more accurately because it does not involve barycentric
// coordinates.
b2Vec2 b2ComputeSimplexSearchDirection( const b2Simplex* simplex )
static b2Vec2 b2ComputeSimplexSearchDirection( const b2Simplex* simplex )
{
switch ( simplex->count )
{
Expand Down Expand Up @@ -237,7 +237,7 @@ b2Vec2 b2ComputeSimplexSearchDirection( const b2Simplex* simplex )
}
}

b2Vec2 b2ComputeSimplexClosestPoint( const b2Simplex* s )
static b2Vec2 b2ComputeSimplexClosestPoint( const b2Simplex* s )
{
switch ( s->count )
{
Expand All @@ -260,7 +260,7 @@ b2Vec2 b2ComputeSimplexClosestPoint( const b2Simplex* s )
}
}

void b2ComputeSimplexWitnessPoints( b2Vec2* a, b2Vec2* b, const b2Simplex* s )
static void b2ComputeSimplexWitnessPoints( b2Vec2* a, b2Vec2* b, const b2Simplex* s )
{
switch ( s->count )
{
Expand Down Expand Up @@ -314,7 +314,7 @@ void b2ComputeSimplexWitnessPoints( b2Vec2* a, b2Vec2* b, const b2Simplex* s )
// Solution
// a1 = d12_1 / d12
// a2 = d12_2 / d12
void b2SolveSimplex2( b2Simplex* s )
static void b2SolveSimplex2( b2Simplex* s )
{
b2Vec2 w1 = s->v1.w;
b2Vec2 w2 = s->v2.w;
Expand Down Expand Up @@ -348,7 +348,7 @@ void b2SolveSimplex2( b2Simplex* s )
s->count = 2;
}

void b2SolveSimplex3( b2Simplex* s )
static void b2SolveSimplex3( b2Simplex* s )
{
b2Vec2 w1 = s->v1.w;
b2Vec2 w2 = s->v2.w;
Expand Down Expand Up @@ -806,7 +806,7 @@ typedef struct b2SeparationFunction
b2SeparationType type;
} b2SeparationFunction;

b2SeparationFunction b2MakeSeparationFunction( const b2SimplexCache* cache, const b2ShapeProxy* proxyA, const b2Sweep* sweepA,
static b2SeparationFunction b2MakeSeparationFunction( const b2SimplexCache* cache, const b2ShapeProxy* proxyA, const b2Sweep* sweepA,
const b2ShapeProxy* proxyB, const b2Sweep* sweepB, float t1 )
{
b2SeparationFunction f;
Expand Down Expand Up @@ -950,7 +950,7 @@ static float b2FindMinSeparation( const b2SeparationFunction* f, int* indexA, in
}

//
float b2EvaluateSeparation( const b2SeparationFunction* f, int indexA, int indexB, float t )
static float b2EvaluateSeparation( const b2SeparationFunction* f, int indexA, int indexB, float t )
{
b2Transform xfA = b2GetSweepTransform( &f->sweepA, t );
b2Transform xfB = b2GetSweepTransform( &f->sweepB, t );
Expand Down
2 changes: 1 addition & 1 deletion src/solver_set.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ void b2WakeSolverSet( b2World* world, int setIndex )
for ( int i = 0; i < jointCount; ++i )
{
b2JointSim* jointSim = set->jointSims.data + i;
b2Joint* joint = b2JointArray_Get( &world->joints, +jointSim->jointId );
b2Joint* joint = b2JointArray_Get( &world->joints, jointSim->jointId );
B2_ASSERT( joint->setIndex == setIndex );
b2AddJointToGraph( world, jointSim, joint );
joint->setIndex = b2_awakeSet;
Expand Down

0 comments on commit c5fbb58

Please sign in to comment.