Changed some architectural stuff | Some cleanup | Random stuff

This commit is contained in:
abux 2026-07-30 12:39:08 +02:00
parent b8733f6782
commit d213a23ca7
2 changed files with 23 additions and 13 deletions

View file

@ -6,6 +6,14 @@
paru -S --needed sdl3 wgpu-native paru -S --needed sdl3 wgpu-native
``` ```
## Architecture
```bash
[ENTITY]
| mesh: Handle(Mesh)
| material: Handle(Material)
| transform: Transform2D or Transform3D
```
## TODO ## TODO
### Core ### Core
@ -19,3 +27,6 @@ paru -S --needed sdl3 wgpu-native
### Engine ### Engine
- [ ] ClassDB - [ ] ClassDB
- [ ] UI - [ ] UI
### Structure
- [ ] Assets Manager | Prob generic Assets(T) tho

View file

@ -25,14 +25,13 @@ end
------------------------------------------------------- -------------------------------------------------------
------------------------------------------------------- -------------------------------------------------------
function update() function update() end
end
------------------------------------------------------- -------------------------------------------------------
------------------------------------------------------- -------------------------------------------------------
function draw() function draw()
ren:beginPass() -- ren:beginPass()
ren:drawSquare() -- ren:drawSquare()
ren:drawTriangle() -- ren:drawTriangle()
ren:endPass() -- ren:endPass()
end end