Linted 2 lines

This commit is contained in:
2025-06-26 14:53:57 +01:00
parent dce162ba4a
commit a12a583444

View File

@ -21,8 +21,8 @@ def translate(value, aMin, aMax, bMin, bMax):
properly here. properly here.
""" """
aRange = (aMax - aMin) aRange = aMax - aMin
bRange = (bMax - bMin) bRange = bMax - bMin
return (((value - aMin) * bRange) / aRange) + bMin return (((value - aMin) * bRange) / aRange) + bMin
def rotateRad(surface: pygame.Surface, radians: float) -> pygame.Surface: def rotateRad(surface: pygame.Surface, radians: float) -> pygame.Surface: