From 4f9976e7c856816c1265172830b7d8fe754e39c0 Mon Sep 17 00:00:00 2001 From: EKNr1 Date: Sat, 3 Feb 2024 17:16:02 +0100 Subject: [PATCH] Added Window Title. --- model_viewer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/model_viewer.py b/model_viewer.py index 1b597cb..aad049c 100644 --- a/model_viewer.py +++ b/model_viewer.py @@ -8,13 +8,14 @@ class ModelViewer: def __init__(self, window_size: tuple=(1200, 800), fps: int=60): pygame.init() self.screen = pygame.display.set_mode(window_size, flags=pygame.RESIZABLE) + pygame.display.set_caption("Sprite Stacking Model Viewer") self.gray = (20, 20, 20) self.window_size = window_size self.fps = fps self.rotating = True - self.model = engine.Object("models/coffee_cup.png", size_multiplier=20) + self.model = engine.Object("models/coffee_cup.png", size_multiplier=30) self.clock = pygame.time.Clock()