fix CreateMotorJoint param type

This commit is contained in:
ekliot
2025-09-05 18:45:49 +01:00
parent b7a9113ac4
commit a6cd6dc265

View File

@@ -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) ---