aboutsummaryrefslogtreecommitdiff
path: root/src/stars.h
blob: 5bbb594e697489b174dca8a746055df9dd6a9028 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "gameCommon.h"

#ifndef STARS_H
#define STARS_H

#define STAR_COUNT 32

#define STAR_MIN_DISTANCE 400.0
#define STAR_MAX_DISTANCE 1000.0

typedef struct Stars {
    Vector3 stars[STAR_COUNT];
    bool starsUsed[STAR_COUNT];
} Stars;

void initStars(Stars * stars);
void drawStars(Game * game, Stars * stars);

#endif