MCPcopy Create free account
hub / github.com/davideberly/GeometricTools / SetJointAllowTranslation

Method SetJointAllowTranslation

GTE/Graphics/IKController.cpp:39–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39void 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
45void IKController::SetJointMinTranslation(size_t j, int32_t axis, float minTranslation)
46{

Callers 1

CreateSceneMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected