diff options
| author | ilotterytea <iltsu@alright.party> | 2024-12-10 19:50:26 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2024-12-10 19:50:26 +0500 |
| commit | c664ddaf47e078219b848b9e2d9c3c4241420261 (patch) | |
| tree | 0c30825531ecb5f4763d5fdc468a6128fafbe75e /src/star.h | |
| parent | 0a50b20f43c2abec41ba35c01f26ed5fa650e9f9 (diff) | |
feat: render stars!
Diffstat (limited to 'src/star.h')
| -rw-r--r-- | src/star.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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(); |
