diff options
| author | raysan5 <[email protected]> | 2021-07-30 12:54:54 +0200 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2021-07-30 12:54:54 +0200 |
| commit | aeb1a0da84adc9e6987e1436431ea9cf495c8802 (patch) | |
| tree | 063ba13a2a0153eea2def09496e461a00f2193c6 /src/utils.h | |
| parent | 71373ee52468871e464e07000f8a602f373e906b (diff) | |
| download | raylib-aeb1a0da84adc9e6987e1436431ea9cf495c8802.tar.gz raylib-aeb1a0da84adc9e6987e1436431ea9cf495c8802.zip | |
REVERTED: Removed the need for `rlMatrix`
Now rlgl uses the `Matrix` type, just make sure it has been previously defined somewhere... I don't like this approach but it's probably the easier one for the users... still looking for a better solution... maybe using something like
`#define MATRIX_TYPE`, so it can be checked in other modules.
Diffstat (limited to 'src/utils.h')
| -rw-r--r-- | src/utils.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/utils.h b/src/utils.h index 00ed8d14..50f70420 100644 --- a/src/utils.h +++ b/src/utils.h @@ -45,8 +45,6 @@ #define TRACELOGD(...) (void)0 #endif -#include "rlgl.h" // Required for: rlMatrix - //---------------------------------------------------------------------------------- // Some basic Defines //---------------------------------------------------------------------------------- @@ -69,9 +67,6 @@ extern "C" { // Prevents name mangling of functions //---------------------------------------------------------------------------------- // Module Functions Declaration //---------------------------------------------------------------------------------- -rlMatrix rlMatrixFromMatrix(Matrix mat); -Matrix rlMatrixToMatrix(rlMatrix mat); - #if defined(PLATFORM_ANDROID) void InitAssetManager(AAssetManager *manager, const char *dataPath); // Initialize asset manager from android app FILE *android_fopen(const char *fileName, const char *mode); // Replacement for fopen() -> Read-only! |
