diff --git a/geom/demos/sat.py b/geom/demos/sat.py index b09b61f..8d5cf11 100644 --- a/geom/demos/sat.py +++ b/geom/demos/sat.py @@ -42,13 +42,13 @@ class SeparatingAxisTheorem: add(*scale(*normal, 1000), *offset)) # shape 1 - line(surface, YELLOW if not colliding else RED, + line(surface, GREEN if not colliding else RED, add(*scale(*normal, min1), *offset), - add(*scale(*normal, max1), *offset), 5) + add(*scale(*normal, max1), *offset), 8) # shape 2 - line(surface, YELLOW if not colliding else RED, + line(surface, GREEN if not colliding else RED, add(*scale(*normal, min2), *offset), - add(*scale(*normal, max2), *offset), 5) + add(*scale(*normal, max2), *offset), 8) def render(self, surface): self.handle_input()