diff options
| author | ekliot <source@ekliot.com> | 2025-09-05 18:45:49 +0100 |
|---|---|---|
| committer | ekliot <source@ekliot.com> | 2025-09-05 18:45:49 +0100 |
| commit | a6cd6dc265b8663080a337c2b31b418d72178c86 (patch) | |
| tree | a57b1720b3b33aac39be15fd93f956853a5783ef | |
| parent | b7a9113ac484f7080c943fdf90cd599756e97440 (diff) | |
fix CreateMotorJoint param type
| -rw-r--r-- | vendor/box2d/box2d.odin | 2 |
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) --- |