From a6cd6dc265b8663080a337c2b31b418d72178c86 Mon Sep 17 00:00:00 2001 From: ekliot Date: Fri, 5 Sep 2025 18:45:49 +0100 Subject: fix CreateMotorJoint param type --- vendor/box2d/box2d.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) --- -- cgit v1.2.3