--global-fix

This commit is contained in:
2026-02-04 21:31:57 +01:00
commit e5591e7dc8
24 changed files with 1848 additions and 0 deletions

15
my3dengine/__init__.py Normal file
View File

@@ -0,0 +1,15 @@
import os
import sys
# Automatyczna ścieżka do SDL2.dll
dll_path = os.path.abspath(os.path.dirname(__file__))
os.environ["PYSDL2_DLL_PATH"] = dll_path
from .key import Key
from .core import Window, Vector3, get_fullscreen, init, normalize, debug_init
from .camera import Camera
from .mesh import Mesh
from .UI import UI
from .audio import AudioSource, AudioListener, update_audio_system
__all__ = ['Window', 'Camera', 'Mesh', 'Key', 'UI', 'audio']