aboutsummaryrefslogtreecommitdiff
path: root/src/raymath.h
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2014-12-09 13:21:55 +0100
committerraysan5 <raysan5@gmail.com>2014-12-09 13:21:55 +0100
commitd3cf316e40b531542b6f55b965f3369d4aca28d6 (patch)
treea9853c9e0dd7ea47af803d61a8aca276beefee2c /src/raymath.h
parenta2c8ddca1345722603637bddc3421f64025d7e5e (diff)
downloadraylib-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.h4
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)