removed unused crap
This commit is contained in:
parent
26c91ea093
commit
ce0fd5d01b
2
main.py
2
main.py
@ -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}")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user