aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorekliot <source@ekliot.com>2025-09-05 18:45:49 +0100
committerekliot <source@ekliot.com>2025-09-05 18:45:49 +0100
commita6cd6dc265b8663080a337c2b31b418d72178c86 (patch)
treea57b1720b3b33aac39be15fd93f956853a5783ef
parentb7a9113ac484f7080c943fdf90cd599756e97440 (diff)
fix CreateMotorJoint param type
-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) ---