aboutsummaryrefslogtreecommitdiffstats
path: root/src/util.h
blob: fba1e7f6d566e900d91a7244b6e33c516406fe9e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "gameCommon.h"
#include "animation.h"
#include <raylib.h>

#ifndef UTIL_H
#define UTIL_H

// Scale from the window to render texture.
Vector2 getScaledMousePosition();

// Check pixals and that fun stuff.
bool doesCollideWithAnimation(Rectangle rect, Animation* animation, Vector2 point);

#endif