#include <joints.h>
Inheritance diagram for sheep::FixedPathJoint:

Public Member Functions | |
| FixedPathJoint (RigidBody *body, const Vector3 &anchor, const Vector3 *ccp, int nccp) | |
| virtual | ~FixedPathJoint () |
| virtual void | Update () |
| virtual Real | GetError () |
| virtual void | CorrectError () |
Private Member Functions | |
| void | project_on_curve (const Vector3 &p, int *seg, Real *t) const |
Private Attributes | |
| Vector3 | m_anchor |
| Vector3 * | m_ccp |
| int | m_nccp |
Definition at line 85 of file joints.h.
|
||||||||||||||||||||
|
Definition at line 172 of file joints.cpp. |
|
|
|
|
|
Implements sheep::Joint. Definition at line 247 of file joints.cpp. References sheep::CatmullRomCurve3::GetPointAt(), m_anchor, m_ccp, project_on_curve(), sheep::Real, and sheep::RigidBody::TransformPointToWorld(). |
|
|
Implements sheep::Joint. Definition at line 242 of file joints.cpp. References sheep::Real. |
|
||||||||||||||||
|
Definition at line 278 of file joints.cpp. References sheep::EPS, sheep::FixedPathJoint::DistanceFunction::EvaluateAt(), sheep::FindRoot(), sheep::CatmullRomCurve3::GetPointAt(), m_ccp, m_nccp, and sheep::Real. Referenced by CorrectError(), and Update(). |
|
|
Implements sheep::Joint. Definition at line 194 of file joints.cpp. References sheep::build_basis(), sheep::CatmullRomCurve3::GetTangentAt(), m_anchor, m_ccp, sheep::Vector3::m_x, sheep::Vector3::m_y, sheep::Vector3::m_z, project_on_curve(), sheep::Real, and sheep::RigidBody::TransformVectorToWorld(). |
|
|
Definition at line 100 of file joints.h. Referenced by CorrectError(), FixedPathJoint(), and Update(). |
|
|
Definition at line 102 of file joints.h. Referenced by CorrectError(), FixedPathJoint(), project_on_curve(), and Update(). |
|
|
Definition at line 103 of file joints.h. Referenced by FixedPathJoint(), and project_on_curve(). |
1.3.6