Przeglądaj źródła

fix CreateMotorJoint param type

ekliot 6 dni temu
rodzic
commit
a6cd6dc265
1 zmienionych plików z 1 dodań i 1 usunięć
  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) ---