From ddd26ed83d3ac0335562f762ced273a1d62bd959 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Sat, 23 Dec 2017 01:37:09 +0000 Subject: [Style] Updated style in files. --- yage/physics/body.h | 2 +- yage/physics/particlebody.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'yage/physics') diff --git a/yage/physics/body.h b/yage/physics/body.h index 0a6bbe42..62173987 100644 --- a/yage/physics/body.h +++ b/yage/physics/body.h @@ -42,7 +42,7 @@ protected: public: // apply force to the object and update the velocity virtual void applyForce(const Vector2d &force) = 0; - virtual void update() = 0; + virtual void update() = 0; double xPosition() const; double yPosition() const; diff --git a/yage/physics/particlebody.h b/yage/physics/particlebody.h index 3978da77..d4380695 100644 --- a/yage/physics/particlebody.h +++ b/yage/physics/particlebody.h @@ -20,7 +20,7 @@ class ParticleBody : public Body public: ParticleBody(const Vector2d &position = Vector2d(0, 0), double mass = 1, const Vector2d &velocity = Vector2d(0, 0), - bool gravity = true); + bool gravity = true); // apply a force to the rigid body void applyForce(const Vector2d &force) override; -- cgit