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

Method SetJointAllowRotation

GTE/Graphics/IKController.cpp:57–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57void IKController::SetJointAllowRotation(size_t j, int32_t axis, bool allow)
58{
59 LogAssert(j < mJoints.size() && 0 <= axis && axis < 3, "Invalid input.");
60 mJoints[j].allowRotation[axis] = allow;
61}
62
63void IKController::SetJointMinRotation(size_t j, int32_t axis, float minRotation)
64{

Callers 1

CreateSceneMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected