Bläddra i källkod

fix CreateMotorJoint param type

ekliot 5 dagar sedan
förälder
incheckning
a6cd6dc265
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      vendor/box2d/box2d.odin

+ 1 - 1
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) ---