From 7604f44a77c1b215a187f87169ee29c072ae9e56 Mon Sep 17 00:00:00 2001 From: Leon Grothus <leon.grothus@gmail.com> Date: Wed, 24 Jan 2024 11:07:01 +0100 Subject: [PATCH] smaller fixes --- api/components/rigidbody.py | 1 + data.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/api/components/rigidbody.py b/api/components/rigidbody.py index 325ae93..7c08b2e 100644 --- a/api/components/rigidbody.py +++ b/api/components/rigidbody.py @@ -131,6 +131,7 @@ class Rigidbody(Component): def check_circle_polygon_collision(self, other: PolygonCollider) -> tuple: for i in range(len(other.mesh.points)): p1: Vector2 = other.mesh.points[i] + p2: Vector2 = other.mesh.points[(i + 1) % len(other.mesh.points)] edge: Vector2 = p2 - p1 edge_length: float = edge.length() diff --git a/data.json b/data.json index a8ce6ca..551325d 100644 --- a/data.json +++ b/data.json @@ -1 +1 @@ -{"scoreboard": {"Player": 6975}} \ No newline at end of file +{"scoreboard": {"Player": 11095}} \ No newline at end of file -- GitLab