summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-08-31 20:43:04 +0200
committerGitHub <noreply@github.com>2017-08-31 20:43:04 +0200
commite8eb88c643946dc62c763d8da2af3083a1496742 (patch)
tree3f2099c1ac350dd51d0fdc27fb5d81de2a6cce29
parenta717083235b3369aef9a3846b5071fac023a60b2 (diff)
parente5aec72bae8626eefedf1b0b1b0638c70f1fe153 (diff)
Merge pull request #10831 from Noshyaar/pr-inertia
Fix typo 'inetria' to 'inertia' [ci skip]
-rw-r--r--doc/base/classes.xml2
-rw-r--r--servers/physics_server.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml
index 9b424f2ec4..e0b1ea3870 100644
--- a/doc/base/classes.xml
+++ b/doc/base/classes.xml
@@ -32449,7 +32449,7 @@
<description>
</description>
</method>
- <method name="get_principal_inetria_axes" qualifiers="const">
+ <method name="get_principal_inertia_axes" qualifiers="const">
<return type="Basis">
</return>
<description>
diff --git a/servers/physics_server.cpp b/servers/physics_server.cpp
index 5097e0a5d2..d4e37be882 100644
--- a/servers/physics_server.cpp
+++ b/servers/physics_server.cpp
@@ -75,7 +75,7 @@ void PhysicsDirectBodyState::_bind_methods() {
ClassDB::bind_method(D_METHOD("get_total_angular_damp"), &PhysicsDirectBodyState::get_total_angular_damp);
ClassDB::bind_method(D_METHOD("get_center_of_mass"), &PhysicsDirectBodyState::get_center_of_mass);
- ClassDB::bind_method(D_METHOD("get_principal_inetria_axes"), &PhysicsDirectBodyState::get_principal_inertia_axes);
+ ClassDB::bind_method(D_METHOD("get_principal_inertia_axes"), &PhysicsDirectBodyState::get_principal_inertia_axes);
ClassDB::bind_method(D_METHOD("get_inverse_mass"), &PhysicsDirectBodyState::get_inverse_mass);
ClassDB::bind_method(D_METHOD("get_inverse_inertia"), &PhysicsDirectBodyState::get_inverse_inertia);