Explorar o código

fix CreateMotorJoint param type

ekliot hai 5 días
pai
achega
a6cd6dc265
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) ---