aboutsummaryrefslogtreecommitdiffstats
path: root/yage/physics
diff options
context:
space:
mode:
Diffstat (limited to 'yage/physics')
-rw-r--r--yage/physics/body.h2
-rw-r--r--yage/physics/particlebody.h2
2 files changed, 2 insertions, 2 deletions
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;