icon added
All checks were successful
Analyze code and publish script / Analyze code (push) Successful in 15s
Analyze code and publish script / Publish script (push) Successful in 22s

This commit is contained in:
2026-02-09 15:07:45 +01:00
Unverified
parent 537f6fc57b
commit 37bf3bcbef
4 changed files with 4 additions and 0 deletions

BIN
.gitea/readme/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 43 KiB

BIN
src/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

@@ -1,5 +1,6 @@
import pygame as pg
import numpy as np
import os
from math import *
from camera import Camera
from object import Object
@@ -73,6 +74,9 @@ class Renderer:
self.objects.append(object)
def run(self):
icon_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'icon.png')
icon = pg.image.load(icon_path)
pg.display.set_icon(icon)
pg.display.set_caption(self.caption)
while True:
for event in pg.event.get():