aboutsummaryrefslogtreecommitdiffstats
path: root/src/util.h
diff options
context:
space:
mode:
authornathansmith117 <thenathansmithsmith@gmail.com>2024-02-21 18:17:41 +0000
committernathansmith117 <thenathansmithsmith@gmail.com>2024-02-21 18:17:41 +0000
commit2f6a0233b16d25df9b79a61b93fd8a72626bad3c (patch)
treefb505b87c4492494bc43c488da594ec31bf2ab35 /src/util.h
parentba522d0b6e8172d2d9f0ee107fbb2d6499380847 (diff)
downloadPenguinYippies-2f6a0233b16d25df9b79a61b93fd8a72626bad3c.tar.gz
PenguinYippies-2f6a0233b16d25df9b79a61b93fd8a72626bad3c.tar.bz2
PenguinYippies-2f6a0233b16d25df9b79a61b93fd8a72626bad3c.zip
Fixed mouse position with render texture
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
new file mode 100644
index 0000000..46193de
--- /dev/null
+++ b/src/util.h
@@ -0,0 +1,10 @@
+#include "gameCommon.h"
+#include <raylib.h>
+
+#ifndef UTIL_H
+#define UTIL_H
+
+// Scale from the window to render texture.
+Vector2 getScaledMousePosition();
+
+#endif