summaryrefslogtreecommitdiff
path: root/servers
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-10-15 10:12:53 +0200
committerGitHub <noreply@github.com>2017-10-15 10:12:53 +0200
commit3266ebbf4f3ccfdf2ce0531890edc6b3dc526762 (patch)
tree8a06910ad6ec4b3be4f97da2fcf92aa7f3a114fd /servers
parent8b95e3bf110a21fcfbd2d0649e36d8a54b490e11 (diff)
parentf8c7d32987c91026174e01fa8ea28ec064ef7e22 (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.h4
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();