Skip to content

Commit

Permalink
Fix warnings;
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornbytes committed May 19, 2024
1 parent 428235f commit 833a05d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/physics/physics.c
Original file line number Diff line number Diff line change
Expand Up @@ -1586,15 +1586,15 @@ float lovrContactGetFriction(Contact* contact) {
}

void lovrContactSetFriction(Contact* contact, float friction) {
return JPH_ContactSettings_SetFriction(contact->settings, friction);
JPH_ContactSettings_SetFriction(contact->settings, friction);
}

float lovrContactGetRestitution(Contact* contact) {
return JPH_ContactSettings_GetRestitution(contact->settings);
}

void lovrContactSetRestitution(Contact* contact, float restitution) {
return JPH_ContactSettings_SetRestitution(contact->settings, restitution);
JPH_ContactSettings_SetRestitution(contact->settings, restitution);
}

bool lovrContactIsEnabled(Contact* contact) {
Expand Down

0 comments on commit 833a05d

Please sign in to comment.