From 1ce1a705c61064e44f83c772b70ee9b208a4c289 Mon Sep 17 00:00:00 2001 From: nathansmith117 Date: Wed, 21 Feb 2024 12:29:29 -0700 Subject: Working on pixal collision thingy --- src/util.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/util.h') diff --git a/src/util.h b/src/util.h index 46193de..fba1e7f 100644 --- a/src/util.h +++ b/src/util.h @@ -1,4 +1,5 @@ #include "gameCommon.h" +#include "animation.h" #include #ifndef UTIL_H @@ -7,4 +8,7 @@ // Scale from the window to render texture. Vector2 getScaledMousePosition(); +// Check pixals and that fun stuff. +bool doesCollideWithAnimation(Rectangle rect, Animation* animation, Vector2 point); + #endif -- cgit v1.2.3