From 4ad320a53a4b030d2fe7b923024e78a0217a3b82 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Tue, 10 Dec 2024 19:54:30 +0500 Subject: fix: positions werent random --- src/star.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/star.c') diff --git a/src/star.c b/src/star.c index 6251e03..e8d2dfd 100644 --- a/src/star.c +++ b/src/star.c @@ -2,13 +2,11 @@ #include #include -#include #include "constants.h" #include "raylib.h" Vector3 Generate3DPosition() { - srand(time(0)); double random = (double)rand() / RAND_MAX; double angle = random * 2.0 * M_PI; -- cgit v1.2.3