Metadata-Version: 2.4
Name: eagle-engine
Version: 0.1.0
Summary: 3D-движок как расширение PyGame: GPU-рендеринг через ModernGL
Author: Eagle Engine contributors
License: MIT
Project-URL: Homepage, https://github.com/your-username/eagle-engine
Project-URL: Repository, https://github.com/your-username/eagle-engine
Project-URL: Issues, https://github.com/your-username/eagle-engine/issues
Keywords: pygame,3d,engine,opengl,moderngl,gamedev
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Games/Entertainment
Classifier: Topic :: Multimedia :: Graphics :: 3D Rendering
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pygame-ce>=2.4
Requires-Dist: moderngl>=5.8
Requires-Dist: numpy>=1.24
Provides-Extra: dev
Requires-Dist: pytest>=7; extra == "dev"
Requires-Dist: ruff>=0.4; extra == "dev"
Requires-Dist: build>=1.0; extra == "dev"
Requires-Dist: twine>=5.0; extra == "dev"
Dynamic: license-file

# Eagle Engine

3D-extension for PyGame with GPU-rendering by ModernGL (OpenGL 3.3 Core).

## Installation

```bash
pip install eagle-engine
```
Quickstart

```python
import pygame
from eagle.core import Engine
from eagle.primitives import Cube
from eagle.gfx import Camera

engine = Engine(800, 600, "Eagle")
camera = Camera(position=(0, 0, 3))
cube = Cube()

@engine.on_render_3d
def render():
    engine.draw(cube, camera)

@engine.on_render_2d
def hud():
    font = pygame.font.SysFont("Arial", 20)
    engine.surface.blit(font.render("Hello Eagle", True, "white"), (16, 16))

engine.run()
```

## Contents

* SDL2 window + OpenGL 3.3 Core + MSAA ×4

* Math (Vec3/Mat4/Transform) on numpy

* Blinn-Phong-lighting

* 9 primitives: Cube, Sphere, Icosphere, Plane, Grid, Cylinder, Cone, Torus, Axes

* Loaders of .obj (+.mtl, textures) and .stl (ASCII + binary)

* SceneObject / Scene with transfomation hierarhy

* 2D-overlay by pygame.Surface → GL-texture

* Camera with orbital controls (mouse + mouse wheel)

## License

MIT
