lowkey im high rn

This commit is contained in:
harper
2026-10-08 21:54:21 -07:00
parent e5067f4e4a
commit b884b2bced
4 changed files with 43 additions and 8 deletions
+8 -1
View File
@@ -2,6 +2,13 @@ package shoal
import rl "vendor:raylib"
WindowComponent :: struct {
width: i32,
height: i32,
title: string,
}
Window: Storage(WindowComponent)
SpriteComponent :: struct {
texture: rl.Texture2D,
}
@@ -9,6 +16,6 @@ Sprite: Storage(SpriteComponent)
TransformComponent :: struct {
translation: rl.Vector2,
rotation: int,
rotation: f32,
}
Transform: Storage(TransformComponent)