aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/utils.c b/src/utils.c
index e49623c..e8e99cf 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -1,7 +1,5 @@
#include "utils.h"
-#define RANDOM_DIRECTION_UNITS 4096
-
Vector2 randomDirection2(int seed, int* nextSeed)
{
Vector2 direction;
@@ -36,4 +34,15 @@ Vector3 randomDirection3(int seed, int* nextSeed)
return Vector3Normalize(direction);
}
+void updateFloatWindow(FloatingWindow* window, const char* title)
+{
+#ifndef RAYGUI_WINDOWBOX_STATUSBAR_HEIGHT
+#define RAYGUI_WINDOWBOX_STATUSBAR_HEIGHT 24
+#endif
+
+#ifndef RAYGUI_WINDOW_CLOSEBUTTON_SIZE
+#define RAYGUI_WINDOW_CLOSEBUTTON_SIZE 18
+#endif
+}
+
// Why does the universe feel strange to exist in?