From 2f6a0233b16d25df9b79a61b93fd8a72626bad3c Mon Sep 17 00:00:00 2001 From: nathansmith117 Date: Wed, 21 Feb 2024 11:17:41 -0700 Subject: Fixed mouse position with render texture --- src/util.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/util.h (limited to 'src/util.h') 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 + +#ifndef UTIL_H +#define UTIL_H + +// Scale from the window to render texture. +Vector2 getScaledMousePosition(); + +#endif -- cgit v1.2.3