diff options
author | Grosskopf <gerrit@familiegrosskopf.de> | 2017-10-14 12:19:03 +0200 |
---|---|---|
committer | Grosskopf <gerrit@familiegrosskopf.de> | 2017-10-14 22:17:26 +0200 |
commit | f8c7d32987c91026174e01fa8ea28ec064ef7e22 (patch) | |
tree | 6980363859a37ff70a471f87085ca3e01c87250b /servers/physics/joints | |
parent | abe47eaa630d48be9e47e6c3cad6c44829bb2249 (diff) |
Added documentation for 3D Joints, the 2D Pin Joint, and the Physicsservers, also a minor bugfix in the 3D Pinjoint.
Diffstat (limited to 'servers/physics/joints')
-rw-r--r-- | servers/physics/joints/pin_joint_sw.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/servers/physics/joints/pin_joint_sw.h b/servers/physics/joints/pin_joint_sw.h index ee9272ce06..f6c11c49b0 100644 --- a/servers/physics/joints/pin_joint_sw.h +++ b/servers/physics/joints/pin_joint_sw.h @@ -86,8 +86,8 @@ public: void set_pos_a(const Vector3 &p_pos) { m_pivotInA = p_pos; } void set_pos_b(const Vector3 &p_pos) { m_pivotInB = p_pos; } - Vector3 get_position_a() { return m_pivotInB; } - Vector3 get_position_b() { return m_pivotInA; } + Vector3 get_position_a() { return m_pivotInA; } + Vector3 get_position_b() { return m_pivotInB; } PinJointSW(BodySW *p_body_a, const Vector3 &p_pos_a, BodySW *p_body_b, const Vector3 &p_pos_b); ~PinJointSW(); |