From 2941bcef472553972115280960bc82f1edb86eed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Thu, 8 Apr 2021 19:38:33 +0200 Subject: [PATCH] fix: indentation Arrow.java --- core/src/sagittarius/Arrow.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/core/src/sagittarius/Arrow.java b/core/src/sagittarius/Arrow.java index 40b29b5..5ca8b49 100644 --- a/core/src/sagittarius/Arrow.java +++ b/core/src/sagittarius/Arrow.java @@ -108,15 +108,15 @@ class Arrow extends Entity { */ private void integrationVerlet(float deltaTime) { - this.acceleration = this.force.cpy(); + this.acceleration = this.force.cpy(); - this.position.x += deltaTime * ( this.velocity.x + deltaTime * this.acceleration.x / 2 ); - this.position.y += deltaTime * ( this.velocity.y + deltaTime * this.acceleration.y / 2 ); + this.position.x += deltaTime * ( this.velocity.x + deltaTime * this.acceleration.x / 2 ); + this.position.y += deltaTime * ( this.velocity.y + deltaTime * this.acceleration.y / 2 ); - this.force = computeForce(); + this.force = computeForce(); - this.velocity.x += deltaTime * ( this.acceleration.x + this.force.x ) / 2; - this.velocity.y += deltaTime * ( this.acceleration.y + this.force.y ) / 2; + this.velocity.x += deltaTime * ( this.acceleration.x + this.force.x ) / 2; + this.velocity.y += deltaTime * ( this.acceleration.y + this.force.y ) / 2; } // ---------- GRAPHICAL METHODs ----------