From c664ddaf47e078219b848b9e2d9c3c4241420261 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Tue, 10 Dec 2024 19:50:26 +0500 Subject: feat: render stars! --- src/star.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/star.h') diff --git a/src/star.h b/src/star.h index bc215ee..db34db6 100644 --- a/src/star.h +++ b/src/star.h @@ -2,7 +2,12 @@ typedef struct Star { Vector3 position; - Vector2 size; + Vector2 size, renderPosition; float velocity; Color color; } Star; + +Star StarCreate(); +void StarUpdate(Star *star); + +Vector3 Generate3DPosition(); -- cgit v1.2.3