diff options
| author | victorfisac <victorfisac@gmail.com> | 2016-01-11 15:09:23 +0100 |
|---|---|---|
| committer | victorfisac <victorfisac@gmail.com> | 2016-01-11 15:09:23 +0100 |
| commit | 8eb6fc5612da86e4fc196ed9719949748ed08d85 (patch) | |
| tree | 534c4b2f488e6cb0e650316fbee2b9d7a4d12664 /src/raymath.h | |
| parent | a5e79b7663532b4420d91ee9adb7265f06847624 (diff) | |
| parent | 5e7686695fcfe32bbf956990ced0a02b7c881af1 (diff) | |
| download | raylib-8eb6fc5612da86e4fc196ed9719949748ed08d85.tar.gz raylib-8eb6fc5612da86e4fc196ed9719949748ed08d85.zip | |
Merge remote-tracking branch 'refs/remotes/raysan5/develop' into develop
Diffstat (limited to 'src/raymath.h')
| -rw-r--r-- | src/raymath.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/raymath.h b/src/raymath.h index e140b74c..507bf52f 100644 --- a/src/raymath.h +++ b/src/raymath.h @@ -79,6 +79,7 @@ extern "C" { // Prevents name mangling of functions //------------------------------------------------------------------------------------ // Functions Declaration to work with Vector3 //------------------------------------------------------------------------------------ +float *VectorToFloat(Vector3 vec); // Converts Vector3 to float array Vector3 VectorAdd(Vector3 v1, Vector3 v2); // Add two vectors Vector3 VectorSubtract(Vector3 v1, Vector3 v2); // Substract two vectors Vector3 VectorCrossProduct(Vector3 v1, Vector3 v2); // Calculate two vectors cross product @@ -97,7 +98,7 @@ Vector3 VectorZero(void); // Return a Vector3 init //------------------------------------------------------------------------------------ // Functions Declaration to work with Matrix //------------------------------------------------------------------------------------ -float *GetMatrixVector(Matrix mat); // Returns an OpenGL-ready vector (glMultMatrixf) +float *MatrixToFloat(Matrix mat); // Converts Matrix to float array float MatrixDeterminant(Matrix mat); // Compute matrix determinant float MatrixTrace(Matrix mat); // Returns the trace of the matrix (sum of the values along the diagonal) void MatrixTranspose(Matrix *mat); // Transposes provided matrix |
