aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2025-09-06 12:23:21 +0100
committerGitHub <noreply@github.com>2025-09-06 12:23:21 +0100
commit38f308b3481d18b05e16ebb7786b885d781ca746 (patch)
tree5f034b5bf3962daee1f46205a87b1bae77c9cb1b
parent3bbf3641a1ef4d777932d4ce139e9c99ae617446 (diff)
parenta6cd6dc265b8663080a337c2b31b418d72178c86 (diff)
Merge pull request #5656 from ekliot/vendor-box2d-bindings
`vendor:box2d` fix CreateMotorJoint proc signature
-rw-r--r--vendor/box2d/box2d.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/box2d/box2d.odin b/vendor/box2d/box2d.odin
index 640f430b8..8b0a57a4e 100644
--- a/vendor/box2d/box2d.odin
+++ b/vendor/box2d/box2d.odin
@@ -1370,7 +1370,7 @@ foreign lib {
// Create a motor joint
// @see b2MotorJointDef for details
- CreateMotorJoint :: proc(worldId: WorldId, def: MotorJointDef) -> JointId ---
+ CreateMotorJoint :: proc(worldId: WorldId, #by_ptr def: MotorJointDef) -> JointId ---
// Set the motor joint linear offset target
MotorJoint_SetLinearOffset :: proc(jointId: JointId, linearOffset: Vec2) ---