diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-10-15 10:12:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-15 10:12:53 +0200 |
commit | 3266ebbf4f3ccfdf2ce0531890edc6b3dc526762 (patch) | |
tree | 8a06910ad6ec4b3be4f97da2fcf92aa7f3a114fd /servers | |
parent | 8b95e3bf110a21fcfbd2d0649e36d8a54b490e11 (diff) | |
parent | f8c7d32987c91026174e01fa8ea28ec064ef7e22 (diff) |
Merge pull request #12088 from Grosskopf/physics-server-docs
Added documentation for 3D Joints, the 2D Pin Joint, and the Physicsservers, also minor Bugfix
Diffstat (limited to 'servers')
-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(); |