diff options
author | nathansmith117 <thenathansmithsmith@gmail.com> | 2024-02-22 19:19:43 +0000 |
---|---|---|
committer | nathansmith117 <thenathansmithsmith@gmail.com> | 2024-02-22 19:19:43 +0000 |
commit | d6c58243b7b9d90e5e23af2f3c866ddf316cb0fa (patch) | |
tree | 0ee4b8533b28eb3e3d4be034c0eb356d83b98734 /src/util.h | |
parent | 1ce1a705c61064e44f83c772b70ee9b208a4c289 (diff) | |
download | PenguinYippies-d6c58243b7b9d90e5e23af2f3c866ddf316cb0fa.tar.gz PenguinYippies-d6c58243b7b9d90e5e23af2f3c866ddf316cb0fa.tar.bz2 PenguinYippies-d6c58243b7b9d90e5e23af2f3c866ddf316cb0fa.zip |
Can now use pixel data for collision
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1,6 +1,5 @@ #include "gameCommon.h" #include "animation.h" -#include <raylib.h> #ifndef UTIL_H #define UTIL_H @@ -9,6 +8,6 @@ Vector2 getScaledMousePosition(); // Check pixals and that fun stuff. -bool doesCollideWithAnimation(Rectangle rect, Animation* animation, Vector2 point); +bool doesCollideWithAnimationData(Rectangle rect, void* data, int width, int height, int frame, Vector2 point); #endif |