summaryrefslogtreecommitdiff
path: root/src/star.h
blob: 7de8e8e6e209471125ad8031e76b97b2571fb47d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "raylib.h"

typedef struct Star {
    Vector3 position;
    Vector2 size, renderPosition;
    float velocity;
    Color color;
} Star;

Star StarCreate();
void StarUpdate(Star *star, float screen_center_x, float screen_center_y);

Vector3 Generate3DPosition();