From ce0fd5d01b7c3d79ad64ed2244bbeded573b7893 Mon Sep 17 00:00:00 2001 From: Looki2000 Date: Sat, 13 May 2023 22:38:38 +0200 Subject: [PATCH] removed unused crap --- main.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/main.py b/main.py index a4ec2a5..129370d 100644 --- a/main.py +++ b/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}")