| 37 | } |
| 38 | |
| 39 | void IKController::SetJointAllowTranslation(size_t j, int32_t axis, bool allow) |
| 40 | { |
| 41 | LogAssert(j < mJoints.size() && 0 <= axis && axis < 3, "Invalid input."); |
| 42 | mJoints[j].allowTranslation[axis] = allow; |
| 43 | } |
| 44 | |
| 45 | void IKController::SetJointMinTranslation(size_t j, int32_t axis, float minTranslation) |
| 46 | { |