Antkeeper
0.0.1
|
IK constraint with cone-limited swing and angle-limited twist. More...
#include <swing-twist-ik-constraint.hpp>
Public Member Functions | |
void | solve (math::fquat &q) override |
Solves the constraint. More... | |
void | set_twist_limit (float min_angle, float max_angle) |
Sets the twist rotation limit. More... | |
IK constraint with cone-limited swing and angle-limited twist.
Definition at line 29 of file swing-twist-ik-constraint.hpp.
void swing_twist_ik_constraint::set_twist_limit | ( | float | min_angle, |
float | max_angle | ||
) |
Sets the twist rotation limit.
min_angle | Minimum twist angle, in radians. |
max_angle | Maximum twist angle, in radians. |
Definition at line 23 of file swing-twist-ik-constraint.cpp.
|
overridevirtual |
Solves the constraint.
[in,out] | q | Unit quaternion representing the rotation of a joint. |
Implements ik_constraint.
Definition at line 31 of file swing-twist-ik-constraint.cpp.