summaryrefslogtreecommitdiff
path: root/src/star.h
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2024-12-10 19:50:26 +0500
committerilotterytea <iltsu@alright.party>2024-12-10 19:50:26 +0500
commitc664ddaf47e078219b848b9e2d9c3c4241420261 (patch)
tree0c30825531ecb5f4763d5fdc468a6128fafbe75e /src/star.h
parent0a50b20f43c2abec41ba35c01f26ed5fa650e9f9 (diff)
feat: render stars!
Diffstat (limited to 'src/star.h')
-rw-r--r--src/star.h7
1 files changed, 6 insertions, 1 deletions
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();