Ejemplo n.º 1
0
//==============================================================================
bool FreeJoint::isCyclic(std::size_t _index) const
{
  return _index < 3
      && !hasPositionLimit(0) && !hasPositionLimit(1) && !hasPositionLimit(2);
}
Ejemplo n.º 2
0
//==============================================================================
bool PlanarJoint::isCyclic(size_t _index) const
{
  return _index == 2 && !hasPositionLimit(_index);
}
Ejemplo n.º 3
0
//==============================================================================
bool EulerJoint::isCyclic(std::size_t _index) const
{
  return !hasPositionLimit(_index);
}