fix GetJointInfo to use a param called jointIndex (not linkIndex) for naming consistency

This commit is contained in:
Mat Kelcey
2016-07-20 11:01:02 -07:00
parent 73ac7c89c6
commit 51ec707230
2 changed files with 4 additions and 4 deletions

View File

@@ -702,10 +702,10 @@ int b3GetNumJoints(b3PhysicsClientHandle physClient, int bodyId)
}
int b3GetJointInfo(b3PhysicsClientHandle physClient, int bodyIndex, int linkIndex, struct b3JointInfo* info)
int b3GetJointInfo(b3PhysicsClientHandle physClient, int bodyIndex, int jointIndex, struct b3JointInfo* info)
{
PhysicsClient* cl = (PhysicsClient* ) physClient;
return cl->getJointInfo(bodyIndex, linkIndex,*info);
return cl->getJointInfo(bodyIndex, jointIndex, *info);
}
b3SharedMemoryCommandHandle b3PickBody(b3PhysicsClientHandle physClient, double rayFromWorldX,