aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils.c
diff options
context:
space:
mode:
authornathan <nathansmith@disroot.org>2026-01-14 09:08:06 +0000
committernathan <nathansmith@disroot.org>2026-01-14 09:08:06 +0000
commitbbce25930d9910c715245f5d87a108ab1dac3426 (patch)
tree2820245b8c6714a3ba69981a34cc7aafdbf8b8fb /src/utils.c
parent2ab36473a20ec33e8d3cae810384b4f28505b4f9 (diff)
downloadFindThings-bbce25930d9910c715245f5d87a108ab1dac3426.tar.gz
FindThings-bbce25930d9910c715245f5d87a108ab1dac3426.tar.bz2
FindThings-bbce25930d9910c715245f5d87a108ab1dac3426.zip
Mad libs thingy working
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils.c b/src/utils.c
index e2e7d35..13de14f 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -1,6 +1,6 @@
#include "utils.h"
-Vector2 randomDirection2(int seed, int* nextSeed)
+Vector2 randomDirection2(int seed, Seed* nextSeed)
{
Vector2 direction;
direction.x = FT_RANDOM16(seed) % RANDOM_DIRECTION_UNITS;
@@ -16,7 +16,7 @@ Vector2 randomDirection2(int seed, int* nextSeed)
return Vector2Normalize(direction);
}
-Vector3 randomDirection3(int seed, int* nextSeed)
+Vector3 randomDirection3(int seed, Seed* nextSeed)
{
Vector3 direction;
direction.x = FT_RANDOM16(seed) % RANDOM_DIRECTION_UNITS;