diff options
| author | raysan5 <raysan5@gmail.com> | 2016-06-02 18:29:49 +0200 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2016-06-02 18:29:49 +0200 |
| commit | 5bcddca5e1841f7d320f769bdd56f0f89327cd14 (patch) | |
| tree | 6c99d5e49a447d85357565387cd9a6229cf017f0 /src | |
| parent | c286bea8e13a84fd78a9f6211de086398a6f9a06 (diff) | |
| download | raylib-5bcddca5e1841f7d320f769bdd56f0f89327cd14.tar.gz raylib-5bcddca5e1841f7d320f769bdd56f0f89327cd14.zip | |
Remove useless stuff
Diffstat (limited to 'src')
| -rw-r--r-- | src/raymath.h | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/src/raymath.h b/src/raymath.h index 2e055e9f..188bd610 100644 --- a/src/raymath.h +++ b/src/raymath.h @@ -151,7 +151,6 @@ RMDEF Matrix MatrixFrustum(double left, double right, double bottom, double top, RMDEF Matrix MatrixPerspective(double fovy, double aspect, double near, double far); // Returns perspective projection matrix RMDEF Matrix MatrixOrtho(double left, double right, double bottom, double top, double near, double far); // Returns orthographic projection matrix RMDEF Matrix MatrixLookAt(Vector3 position, Vector3 target, Vector3 up); // Returns camera look-at matrix (view matrix) -RMDEF void PrintMatrix(Matrix m); // Print matrix utility //------------------------------------------------------------------------------------ // Functions Declaration to work with Quaternions @@ -178,9 +177,7 @@ RMDEF void QuaternionTransform(Quaternion *q, Matrix mat); // Transfo #if defined(RAYMATH_IMPLEMENTATION) || defined(RAYMATH_EXTERN_INLINE) -#include <stdio.h> // Used only on PrintMatrix() -#include <math.h> // Standard math libary: sin(), cos(), tan()... -#include <stdlib.h> // Used for abs() +#include <math.h> // Required for: sinf(), cosf(), tan(), fabs() //---------------------------------------------------------------------------------- // Module Functions Definition - Vector3 math @@ -871,17 +868,6 @@ RMDEF Matrix MatrixLookAt(Vector3 eye, Vector3 target, Vector3 up) return result; } -// Print matrix utility (for debug) -RMDEF void PrintMatrix(Matrix m) -{ - printf("----------------------\n"); - printf("%2.2f %2.2f %2.2f %2.2f\n", m.m0, m.m4, m.m8, m.m12); - printf("%2.2f %2.2f %2.2f %2.2f\n", m.m1, m.m5, m.m9, m.m13); - printf("%2.2f %2.2f %2.2f %2.2f\n", m.m2, m.m6, m.m10, m.m14); - printf("%2.2f %2.2f %2.2f %2.2f\n", m.m3, m.m7, m.m11, m.m15); - printf("----------------------\n"); -} - //---------------------------------------------------------------------------------- // Module Functions Definition - Quaternion math //---------------------------------------------------------------------------------- |
