diff options
| author | raysan5 <raysan5@gmail.com> | 2014-12-09 13:21:55 +0100 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2014-12-09 13:21:55 +0100 |
| commit | d3cf316e40b531542b6f55b965f3369d4aca28d6 (patch) | |
| tree | a9853c9e0dd7ea47af803d61a8aca276beefee2c /src/raymath.h | |
| parent | a2c8ddca1345722603637bddc3421f64025d7e5e (diff) | |
| download | raylib-d3cf316e40b531542b6f55b965f3369d4aca28d6.tar.gz raylib-d3cf316e40b531542b6f55b965f3369d4aca28d6.zip | |
Added features and corrected bugs...
[core] Added SetMousePosition()
[models] LoadHeightmap() - Corrected textures bug
[raymath] Functions renaming
[WEB] Prepare environment for emscripten!
Diffstat (limited to 'src/raymath.h')
| -rw-r--r-- | src/raymath.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/raymath.h b/src/raymath.h index c396a347..334df4f3 100644 --- a/src/raymath.h +++ b/src/raymath.h @@ -108,8 +108,8 @@ Matrix MatrixAdd(Matrix left, Matrix right); // Add two matrices Matrix MatrixSubstract(Matrix left, Matrix right); // Substract two matrices (left - right) Matrix MatrixTranslate(float x, float y, float z); // Returns translation matrix Matrix MatrixRotate(float angleX, float angleY, float angleZ); // Returns rotation matrix -Matrix MatrixRotateAroundAxis(Vector3 axis, float angle); // Returns rotation matrix for an angle around an specified axis -Matrix MatrixRotateAroundAxis2(Vector3 axis, float angle); // Returns rotation matrix for an angle around an specified axis (test another implemntation) +Matrix MatrixFromAxisAngle(Vector3 axis, float angle); // Returns rotation matrix for an angle around an specified axis +Matrix MatrixFromAxisAngle2(Vector3 axis, float angle); // Returns rotation matrix for an angle around an specified axis (test another implemntation) Matrix MatrixFromQuaternion(Quaternion q); // Returns rotation matrix for a given quaternion Matrix MatrixRotateX(float angle); // Returns x-rotation matrix (angle in radians) Matrix MatrixRotateY(float angle); // Returns y-rotation matrix (angle in radians) |
