diff options
author | Rosyid Haryadi <rosyid_haryadi@protonmail.com> | 2024-01-02 22:21:38 +0700 |
---|---|---|
committer | Rosyid Haryadi <rosyid_haryadi@protonmail.com> | 2024-01-02 22:21:38 +0700 |
commit | 392dc964d94c211ac6af98e02c56371d6bb8a3cd (patch) | |
tree | 22cc4da1cad8e0957a54870015cb9d242fdc8696 /src/utilities.h | |
parent | e055021f3fb031c9d8851c3237019f7f0db55f77 (diff) |
refactori-dont-know
Diffstat (limited to 'src/utilities.h')
-rw-r--r-- | src/utilities.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/utilities.h b/src/utilities.h new file mode 100644 index 0000000..f945803 --- /dev/null +++ b/src/utilities.h @@ -0,0 +1,15 @@ +// +// Created by sid on 1/2/24. +// + +#ifndef HMMM_UTILITIES_H +#define HMMM_UTILITIES_H + +#include "raymath.h" + +Vector2 toCenter(Vector2 vector); +Vector2 toTopLeft(Vector2 vector); +Vector2 angle2HeadingVector(float angle); + + +#endif //HMMM_UTILITIES_H |