blob: 2d2774d3f701418e7b676799238a50422f664500 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include "raylib.h"
typedef struct Star {
Vector3 position;
Vector2 size, renderPosition;
float velocity;
Color color;
Texture *texture;
} Star;
Star StarCreate(Texture *texture);
void StarUpdate(Star *star, float screen_center_x, float screen_center_y);
Vector3 Generate3DPosition();
|