removed unused crap

This commit is contained in:
Looki2000 2023-05-13 22:38:38 +02:00
parent 26c91ea093
commit ce0fd5d01b

View File

@ -44,7 +44,6 @@ half_aspect_ratio = aspect_ratio / 2
print(f"Aspect ratio: {aspect_ratio}")
pixel_size_px = pixel_size * window_size[1]
half_pixel_size_px = round(pixel_size_px / 2)
print(f"Pixel size: {pixel_size_px}px")
@ -56,7 +55,6 @@ logo_size = (logo.size[0] * pixel_size, logo.size[1] * pixel_size)
print(f"Logo size: {logo_size}")
# offset in world space so the logo is in the center
#logo_offset = ((aspect_ratio - logo_size[0]) / 2, (1 - logo_size[1]) / 2)
logo_offset = (logo_size[0] / 2, logo_size[1] / 2)
print(f"Logo offset: {logo_offset}")