summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2016-05-21 11:52:21 +0200
committerRémi Verschelde <rverschelde@gmail.com>2016-05-21 11:52:21 +0200
commitda24bc8f3fa5bb00deb7042b63794f4218dee774 (patch)
tree57523903d38803d880be5939f7425dc5cfcf37ef /scene
parent97da9f14abfbbfd8a27f12afef0cd7c46fa425a6 (diff)
VehicleBody: Cosmetic fixes to previous commit
Diffstat (limited to 'scene')
-rw-r--r--scene/3d/vehicle_body.cpp2
-rw-r--r--scene/3d/vehicle_body.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/scene/3d/vehicle_body.cpp b/scene/3d/vehicle_body.cpp
index 6eadc71d63..e35ba11e84 100644
--- a/scene/3d/vehicle_body.cpp
+++ b/scene/3d/vehicle_body.cpp
@@ -992,7 +992,7 @@ float VehicleBody::get_steering() const{
Vector3 VehicleBody::get_linear_velocity()
{
- return linear_velocity;
+ return linear_velocity;
}
void VehicleBody::_bind_methods(){
diff --git a/scene/3d/vehicle_body.h b/scene/3d/vehicle_body.h
index a026a10dff..b6ad88f15e 100644
--- a/scene/3d/vehicle_body.h
+++ b/scene/3d/vehicle_body.h
@@ -177,7 +177,7 @@ public:
void set_steering(float p_steering);
float get_steering() const;
-
+
Vector3 get_linear_velocity();
VehicleBody();